iOS button bug fix
This commit is contained in:
@@ -1784,7 +1784,7 @@ export default function SchedulePage({ isToolManager, isMobile, onProfile, onHel
|
||||
|
||||
{/* Mobile FAB — same position as Messages newchat-fab */}
|
||||
{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={() => {
|
||||
if (isToolManager) { setCreateOpen(v=>!v); }
|
||||
else { setPanel('eventForm'); setEditingEvent(null); setFilterKeyword(''); setFilterTypeId(''); }
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
/* Mobile FAB */
|
||||
.newchat-fab {
|
||||
position: absolute;
|
||||
bottom: 80px;
|
||||
bottom: calc(80px + env(safe-area-inset-bottom, 0px));
|
||||
right: 16px;
|
||||
width: 52px;
|
||||
height: 52px;
|
||||
|
||||
Reference in New Issue
Block a user