Fix Archive layout (#2479)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov 2022-12-28 06:47:35 +03:00 committed by GitHub
parent 2a268b9225
commit 562c9d1082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 25 deletions

View File

@ -22,7 +22,7 @@
.ac-header { .ac-header {
padding: 0.5rem 1.5rem 0.5rem 2.25rem; padding: 0.5rem 1.5rem 0.5rem 2.25rem;
// height: 3.5rem; // height: 3.5rem;
// min-height: 3.5rem; min-height: 2.5rem;
&.short { &.short {
display: flex; display: flex;

View File

@ -24,12 +24,13 @@
export let model: NavigatorModel | undefined export let model: NavigatorModel | undefined
</script> </script>
<div class="flex-col h-full"> <div class="ac-header">
<div class="flex-row-center header"> <div class="ac-header__wrap-title">
<div class="content-color mr-3"><Icon icon={view.icon.Archive} size={'medium'} /></div> <div class="ac-header__icon"><Icon icon={view.icon.Archive} size={'small'} /></div>
<div class="fs-title"><Label label={workbench.string.Archived} /></div> <div class="ac-header__title"><Label label={workbench.string.Archived} /></div>
</div> </div>
{#if model} </div>
{#if model}
<TableBrowser <TableBrowser
_class={core.class.Space} _class={core.class.Space}
config={['', '$lookup._class', 'modifiedOn']} config={['', '$lookup._class', 'modifiedOn']}
@ -40,13 +41,4 @@
archived: true archived: true
}} }}
/> />
{/if} {/if}
</div>
<style lang="scss">
.header {
padding: 0 1.75rem 0 2.5rem;
height: 4rem;
min-height: 4rem;
}
</style>