Remove navigation buttons (#5288)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2024-04-10 16:37:48 +05:00 committed by GitHub
parent ed192130f1
commit 6434011940
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -136,29 +136,31 @@
<Theme> <Theme>
<div id="ui-root"> <div id="ui-root">
<div class="antiStatusBar"> <div class="antiStatusBar">
<div class="flex-row-center h-full content-color gap-3"> <div class="flex-row-center h-full content-color gap-3 pl-4">
<div class="history-box flex-row-center gap-3" class:embedded={embeddedPlatform}> {#if embeddedPlatform}
<button <div class="history-box flex-row-center gap-3">
id="statusbar-back" <button
class="antiButton ghost jf-center bs-none no-focus resetIconSize statusButton square" id="statusbar-back"
style:color={'var(--theme-dark-color)'} class="antiButton ghost jf-center bs-none no-focus resetIconSize statusButton square"
on:click={() => { style:color={'var(--theme-dark-color)'}
history.back() on:click={() => {
}} history.back()
> }}
<IconArrowLeft size={'small'} /> >
</button> <IconArrowLeft size={'small'} />
<button </button>
id="statusbar-forward" <button
class="antiButton ghost jf-center bs-none no-focus resetIconSize statusButton square" id="statusbar-forward"
style:color={'var(--theme-dark-color)'} class="antiButton ghost jf-center bs-none no-focus resetIconSize statusButton square"
on:click={() => { style:color={'var(--theme-dark-color)'}
history.forward() on:click={() => {
}} history.forward()
> }}
<IconArrowRight size={'small'} /> >
</button> <IconArrowRight size={'small'} />
</div> </button>
</div>
{/if}
<div class="flex-row-center" style:-webkit-app-region={'no-drag'}> <div class="flex-row-center" style:-webkit-app-region={'no-drag'}>
<RootBarExtension position="left" /> <RootBarExtension position="left" />
</div> </div>
@ -221,11 +223,7 @@
.history-box { .history-box {
-webkit-app-region: no-drag; -webkit-app-region: no-drag;
margin-left: 1rem; margin-left: 4.625rem;
&.embedded {
margin-left: 5.625rem;
}
} }
.maintenanceScheduled { .maintenanceScheduled {
padding: 0 0.5rem; padding: 0 0.5rem;