Skip to content

Commit 3e7530b

Browse files
authored
Touch up app-bar (#1901)
* Touch up app-bar * Remove rounding and adjust padding accordingly * Increase icon size to match taller app-bar
1 parent 47d0bbb commit 3e7530b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/viewer/src/home/AppBar.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
});
1616
</script>
1717
<header
18-
class="flex items-center z-50 space-x-2 justify-between pr-1 md:pr-3 pl-3 min-h-12 shadow-lg m-3 mb-0 rounded sticky top-3">
18+
class="flex items-center z-50 space-x-2 justify-between pr-2 px-4 min-h-14 shadow-lg m-3 rounded sticky top-3">
1919
{@render title()}
2020
<div class="grow-0"></div>
2121
{@render actions()}

frontend/viewer/src/home/HomeView.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
<AppBar tabTitle={$t`Dictionaries`}>
132132
{#snippet title()}
133133
<div class="text-lg flex gap-2 items-center">
134-
<Icon onclick={clickIcon} src={mode.current === 'dark' ? logoLight : logoDark} alt={$t`Lexbox logo`}/>
134+
<Icon onclick={clickIcon} src={mode.current === 'dark' ? logoLight : logoDark} class="size-8" alt={$t`Lexbox logo`}/>
135135
<h3>{$t`Dictionaries`}</h3>
136136
</div>
137137
{/snippet}

0 commit comments

Comments
 (0)