iOS button bug fix

This commit is contained in:
2026-03-27 22:41:38 -04:00
parent 407e9ee731
commit f1683e2ff5
2 changed files with 2 additions and 2 deletions

View File

@@ -1784,7 +1784,7 @@ export default function SchedulePage({ isToolManager, isMobile, onProfile, onHel
{/* Mobile FAB — same position as Messages newchat-fab */} {/* Mobile FAB — same position as Messages newchat-fab */}
{isMobile && panel === 'calendar' && ( {isMobile && panel === 'calendar' && (
<div ref={createRef} style={{ position:'fixed', bottom:80, right:16, zIndex:30 }}> <div ref={createRef} style={{ position:'fixed', bottom:'calc(80px + env(safe-area-inset-bottom, 0px))', right:16, zIndex:30 }}>
<button className="newchat-fab" style={{ position:'static' }} onClick={() => { <button className="newchat-fab" style={{ position:'static' }} onClick={() => {
if (isToolManager) { setCreateOpen(v=>!v); } if (isToolManager) { setCreateOpen(v=>!v); }
else { setPanel('eventForm'); setEditingEvent(null); setFilterKeyword(''); setFilterTypeId(''); } else { setPanel('eventForm'); setEditingEvent(null); setFilterKeyword(''); setFilterTypeId(''); }

View File

@@ -74,7 +74,7 @@
/* Mobile FAB */ /* Mobile FAB */
.newchat-fab { .newchat-fab {
position: absolute; position: absolute;
bottom: 80px; bottom: calc(80px + env(safe-area-inset-bottom, 0px));
right: 16px; right: 16px;
width: 52px; width: 52px;
height: 52px; height: 52px;