Make filesystem view more responsive by moving the toolbar

This commit is contained in:
2023-11-15 15:50:54 +01:00
parent b53baa32f5
commit 6e30ce896f
8 changed files with 194 additions and 201 deletions

View File

@@ -40,13 +40,13 @@ export let show_hidden = false
<a
href="/d/{child.id}"
on:click|preventDefault|stopPropagation={() => {dispatch("node_share_click", index)}}
class="button small_button"
class="button action_button"
>
<i class="icon" title="This file / directory is shared. Click to open public link">share</i>
</a>
{/if}
{#if state.permissions.update}
<button class="small_button" on:click|preventDefault|stopPropagation={() => {dispatch("node_settings", index)}}>
<button class="action_button" on:click|preventDefault|stopPropagation={() => {dispatch("node_settings", index)}}>
<i class="icon">edit</i>
</button>
{/if}
@@ -117,6 +117,11 @@ td {
.node_icons {
white-space: nowrap;
text-align: right;
padding: 0;
}
.action_button {
margin: 0;
background: none;
}
.hidden {
display: none;