mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 11:31:57 +03:00
Remove navigation buttons (#5288)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
ed192130f1
commit
6434011940
@ -136,29 +136,31 @@
|
||||
<Theme>
|
||||
<div id="ui-root">
|
||||
<div class="antiStatusBar">
|
||||
<div class="flex-row-center h-full content-color gap-3">
|
||||
<div class="history-box flex-row-center gap-3" class:embedded={embeddedPlatform}>
|
||||
<button
|
||||
id="statusbar-back"
|
||||
class="antiButton ghost jf-center bs-none no-focus resetIconSize statusButton square"
|
||||
style:color={'var(--theme-dark-color)'}
|
||||
on:click={() => {
|
||||
history.back()
|
||||
}}
|
||||
>
|
||||
<IconArrowLeft size={'small'} />
|
||||
</button>
|
||||
<button
|
||||
id="statusbar-forward"
|
||||
class="antiButton ghost jf-center bs-none no-focus resetIconSize statusButton square"
|
||||
style:color={'var(--theme-dark-color)'}
|
||||
on:click={() => {
|
||||
history.forward()
|
||||
}}
|
||||
>
|
||||
<IconArrowRight size={'small'} />
|
||||
</button>
|
||||
</div>
|
||||
<div class="flex-row-center h-full content-color gap-3 pl-4">
|
||||
{#if embeddedPlatform}
|
||||
<div class="history-box flex-row-center gap-3">
|
||||
<button
|
||||
id="statusbar-back"
|
||||
class="antiButton ghost jf-center bs-none no-focus resetIconSize statusButton square"
|
||||
style:color={'var(--theme-dark-color)'}
|
||||
on:click={() => {
|
||||
history.back()
|
||||
}}
|
||||
>
|
||||
<IconArrowLeft size={'small'} />
|
||||
</button>
|
||||
<button
|
||||
id="statusbar-forward"
|
||||
class="antiButton ghost jf-center bs-none no-focus resetIconSize statusButton square"
|
||||
style:color={'var(--theme-dark-color)'}
|
||||
on:click={() => {
|
||||
history.forward()
|
||||
}}
|
||||
>
|
||||
<IconArrowRight size={'small'} />
|
||||
</button>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="flex-row-center" style:-webkit-app-region={'no-drag'}>
|
||||
<RootBarExtension position="left" />
|
||||
</div>
|
||||
@ -221,11 +223,7 @@
|
||||
|
||||
.history-box {
|
||||
-webkit-app-region: no-drag;
|
||||
margin-left: 1rem;
|
||||
|
||||
&.embedded {
|
||||
margin-left: 5.625rem;
|
||||
}
|
||||
margin-left: 4.625rem;
|
||||
}
|
||||
.maintenanceScheduled {
|
||||
padding: 0 0.5rem;
|
||||
|
Loading…
Reference in New Issue
Block a user