mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: icons looking squished;
fix: extra view selector button [leftover].
This commit is contained in:
@@ -126,6 +126,7 @@
|
||||
<Button
|
||||
secondary
|
||||
icon={onlyIcon}
|
||||
class={onlyIcon ? 'width-fix' : undefined}
|
||||
on:click={(event) => {
|
||||
toggle(event);
|
||||
trackEvent(Click.FilterApplyClick, { source: analyticsSource });
|
||||
@@ -250,3 +251,10 @@
|
||||
</svelte:fragment>
|
||||
</Modal>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
:global(.width-fix) {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
size="s"
|
||||
icon={onlyIcon}
|
||||
variant="secondary"
|
||||
class={onlyIcon ? 'width-fix' : undefined}
|
||||
disabled={!$columns.length && showAnyway}
|
||||
badge={onlyIcon ? undefined : selectedColumnsNumber.toString()}
|
||||
on:click={toggle}>
|
||||
@@ -37,3 +38,10 @@
|
||||
{#if !hideView}
|
||||
<ViewToggle bind:view />
|
||||
{/if}
|
||||
|
||||
<style>
|
||||
:global(.width-fix) {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
</style>
|
||||
|
||||
-1
@@ -122,7 +122,6 @@
|
||||
<!-- </Button>-->
|
||||
</Layout.Stack>
|
||||
<Layout.Stack direction="row" alignItems="center" justifyContent="flex-end">
|
||||
<ViewSelector view={data.view} columns={tableColumns} hideView isCustomTable />
|
||||
<Button
|
||||
secondary
|
||||
event={Click.DatabaseImportCsv}
|
||||
|
||||
Reference in New Issue
Block a user