Update backups page to be responsive

This commit is contained in:
Andrew Kingston 2023-01-11 16:39:32 +00:00
parent 3d76b07a9a
commit 4ddb63d79c
1 changed files with 37 additions and 30 deletions

View File

@ -14,7 +14,6 @@
Tags,
Tag,
Table,
Page,
} from "@budibase/bbui"
import { backups, licensing, auth, admin, overview } from "stores/portal"
import { createPaginationStore } from "helpers/pagination"
@ -223,6 +222,7 @@
</div>
{:else if loaded}
<Layout noPadding gap="M" alignContent="start">
<div class="controls">
<div class="search">
<div class="select">
<Select
@ -244,8 +244,8 @@
}
}}
/>
<div class="split-buttons">
</div>
<div>
<ActionButton on:click={modal.show} icon="SaveAsFloppy">
Create new backup
</ActionButton>
@ -291,15 +291,29 @@
gap: var(--spacing-xl);
}
.controls {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: flex-end;
gap: var(--spacing-xl);
flex-wrap: wrap;
}
.search {
flex: 1 1 auto;
display: flex;
gap: var(--spacing-xl);
width: 100%;
align-items: flex-end;
}
.search :global(.spectrum-InputGroup) {
min-width: 100px;
}
.select {
flex-basis: 160px;
width: 0;
min-width: 100px;
}
.pagination {
@ -309,13 +323,6 @@
margin-top: var(--spacing-xl);
}
.split-buttons {
display: flex;
align-items: center;
justify-content: flex-end;
flex: 1;
}
.title {
display: flex;
flex-direction: row;