AppTopBar: minor change to the text justify
This commit is contained in:
parent
4df609f1f5
commit
8d04874bce
2 changed files with 15 additions and 2 deletions
|
@ -1,6 +1,20 @@
|
||||||
.AppTopBar {
|
.AppTopBar {
|
||||||
& > .toolbar {
|
& > .MuiToolbar-root {
|
||||||
padding-top: var(--safe-area-inset-top, 0px);
|
padding-top: var(--safe-area-inset-top, 0px);
|
||||||
gap: 8px;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,6 @@ const AppTopBar: ParentComponent<{
|
||||||
>
|
>
|
||||||
<Toolbar
|
<Toolbar
|
||||||
variant={windowSize.width > windowSize.height ? "dense" : "regular"}
|
variant={windowSize.width > windowSize.height ? "dense" : "regular"}
|
||||||
class="toolbar"
|
|
||||||
sx={{ paddingTop: "var(--safe-area-inset-top, 0px)" }}
|
sx={{ paddingTop: "var(--safe-area-inset-top, 0px)" }}
|
||||||
>
|
>
|
||||||
{props.children}
|
{props.children}
|
||||||
|
|
Loading…
Reference in a new issue