AppTopBar: minor change to the text justify

This commit is contained in:
thislight 2024-12-27 22:24:46 +08:00
parent 4df609f1f5
commit 8d04874bce
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E
2 changed files with 15 additions and 2 deletions

View file

@ -1,6 +1,20 @@
.AppTopBar {
& > .toolbar {
& > .MuiToolbar-root {
padding-top: var(--safe-area-inset-top, 0px);
gap: 8px;
& > button:first-child, & > .MuiButtonBase-root:first-child {
margin-left: -0.15em;
}
& > button:last-child, & > .MuiButtonBase-root:last-child {
margin-right: -0.15em;
}
& > .title {
margin-top: -0.2ch;
}
}
}

View file

@ -20,7 +20,6 @@ const AppTopBar: ParentComponent<{
>
<Toolbar
variant={windowSize.width > windowSize.height ? "dense" : "regular"}
class="toolbar"
sx={{ paddingTop: "var(--safe-area-inset-top, 0px)" }}
>
{props.children}