Styling
This commit is contained in:
parent
a689d82b66
commit
151ff27351
|
@ -78,7 +78,7 @@
|
||||||
<Icon size="S" name={getColumnIcon(column)} />
|
<Icon size="S" name={getColumnIcon(column)} />
|
||||||
{column.label}
|
{column.label}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="permissionPicker">
|
||||||
{#each options as option}
|
{#each options as option}
|
||||||
<ActionButton
|
<ActionButton
|
||||||
on:click={() => toggleColumn(column, option.value)}
|
on:click={() => toggleColumn(column, option.value)}
|
||||||
|
@ -86,6 +86,7 @@
|
||||||
icon={option.icon}
|
icon={option.icon}
|
||||||
quiet
|
quiet
|
||||||
selected={option.value === columnToPermissionOptions(column)}
|
selected={option.value === columnToPermissionOptions(column)}
|
||||||
|
noPadding
|
||||||
/>
|
/>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
@ -101,11 +102,6 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 12px;
|
gap: 12px;
|
||||||
}
|
}
|
||||||
.buttons {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
gap: 8px;
|
|
||||||
}
|
|
||||||
.columns {
|
.columns {
|
||||||
display: grid;
|
display: grid;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -118,4 +114,16 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
}
|
}
|
||||||
|
.permissionPicker {
|
||||||
|
display: flex;
|
||||||
|
gap: var(--spacing-xs);
|
||||||
|
padding-left: calc(var(--spacing-xl) * 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.permissionPicker :global(.spectrum-Icon) {
|
||||||
|
width: 14px;
|
||||||
|
}
|
||||||
|
.permissionPicker :global(.spectrum-ActionButton) {
|
||||||
|
width: 22px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue