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 */}
|
{/* 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(''); }
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user