increase toolbar size by 5px and use the default font sizes

Workaround for #1174 for now
This commit is contained in:
Damien Elmes 2021-05-19 19:23:32 +10:00
parent fdd162a7b9
commit 3f0fd548d8
3 changed files with 1 additions and 3 deletions

View File

@ -39,7 +39,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
button { button {
padding: 0 calc(var(--toolbar-size) / 3); padding: 0 calc(var(--toolbar-size) / 3);
font-size: calc(var(--toolbar-size) / 2.3);
width: auto; width: auto;
height: var(--toolbar-size); height: var(--toolbar-size);

View File

@ -35,7 +35,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
height: var(--toolbar-size); height: var(--toolbar-size);
width: auto; width: auto;
font-size: calc(var(--toolbar-size) / 2.3);
user-select: none; user-select: none;
box-shadow: none; box-shadow: none;
border-radius: 0; border-radius: 0;

View File

@ -33,7 +33,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<StickyBar> <StickyBar>
<div>{tr.actionsOptionsFor({ val: state.currentDeck.name })}</div> <div>{tr.actionsOptionsFor({ val: state.currentDeck.name })}</div>
<WithTheming style="--toolbar-size: 30px; --toolbar-wrap: nowrap"> <WithTheming style="--toolbar-size: 35px; --toolbar-wrap: nowrap">
<ButtonToolbar class="justify-content-between"> <ButtonToolbar class="justify-content-between">
<ButtonToolbarItem> <ButtonToolbarItem>
<ButtonGroup class="flex-grow-1"> <ButtonGroup class="flex-grow-1">