styling nits

This commit is contained in:
Ruben Fiszel
2023-11-11 10:03:53 +01:00
parent 7998b9963f
commit 1cef0d1164
4 changed files with 16 additions and 6 deletions
+11 -1
View File
@@ -10,6 +10,17 @@
@apply dark:border-gray-600;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none !important;
margin: 0;
}
/* Firefox */
input[type='number'] {
-moz-appearance: textfield !important;
}
@font-face {
font-family: 'Inter';
src: url('/Inter-Variable.ttf');
@@ -54,7 +65,6 @@
border-bottom-width: 0px !important;
}
.monaco-editor textarea:focus {
box-shadow: none !important;
}
+2 -2
View File
@@ -46,12 +46,12 @@
{#if !disabled}
<button
class="min-w-min !px-2 items-center text-gray-800 bg-gray-100 border rounded center-center hover:bg-gray-300 transition-all cursor-pointer"
class="min-w-min !px-2 items-center text-gray-800 bg-surface-secondary border rounded center-center hover:bg-gray-300 transition-all cursor-pointer"
on:click={() => {
customValue = !customValue
}}
title="Custom Value"
>
<Pen size={14} />
<Pen class="text-tertiary" size={14} />
</button>
{/if}
+2 -2
View File
@@ -470,14 +470,14 @@
{#if !disabled && itemPicker}
<!-- svelte-ignore a11y-click-events-have-key-events -->
<button
class="absolute right-1 top-1 py-1 min-w-min !px-2 items-center text-gray-800 bg-gray-100 border rounded center-center hover:bg-gray-300 transition-all cursor-pointer"
class="absolute right-1 top-1 py-1 min-w-min !px-2 items-center text-gray-800 bg-surface-secondary border rounded center-center hover:bg-gray-300 transition-all cursor-pointer"
on:click={() => {
pickForField = label
itemPicker?.openDrawer?.()
}}
title="Insert a Variable"
>
<DollarSign size={14} />
<DollarSign class="!text-tertiary" size={14} />
</button>
{/if}
{/if}
@@ -479,7 +479,7 @@
<span class="text-sm text-secondary">
Edited <TimeAgo date={script.created_at || ''} /> by {script.created_by || 'unknown'}
</span>
<Badge small color="dark-blue">
<Badge small color="gray">
{truncateHash(script?.hash ?? '')}
</Badge>
{#if script?.is_template}