Merge pull request #804 from lethemanh/803-adjust-desktop-layout

#803 adjust desktop layout
This commit is contained in:
lethemanh
2026-04-17 16:17:36 +07:00
committed by GitHub
2 changed files with 7 additions and 3 deletions
@@ -30,7 +30,7 @@ export const DesktopSidebar: React.FC<CalendarSidebarProps> = ({
paddingLeft: 3, paddingLeft: 3,
paddingRight: 2, paddingRight: 2,
width: '270px', width: '270px',
marginTop: isIframe ? 0 : '70px' marginTop: isIframe ? 1 : '70px'
}, },
zIndex: 5 zIndex: 5
}} }}
+6 -2
View File
@@ -1,4 +1,4 @@
import { IconButton } from '@linagora/twake-mui' import { IconButton, useTheme } from '@linagora/twake-mui'
import HelpOutlineIcon from '@mui/icons-material/HelpOutline' import HelpOutlineIcon from '@mui/icons-material/HelpOutline'
import RefreshIcon from '@mui/icons-material/Refresh' import RefreshIcon from '@mui/icons-material/Refresh'
import { useI18n } from 'twake-i18n' import { useI18n } from 'twake-i18n'
@@ -31,9 +31,13 @@ export const DesktopMenubar: React.FC<SharedMenubarProps> = ({
onUserMenuClose onUserMenuClose
}) => { }) => {
const { t } = useI18n() const { t } = useI18n()
const theme = useTheme()
return ( return (
<header className="menubar"> <header
className="menubar"
style={{ borderBottom: `1px solid ${theme.palette.divider}` }}
>
<div className="left-menu"> <div className="left-menu">
{!isIframe && ( {!isIframe && (
<div className="menu-items"> <div className="menu-items">