From 673dea78ec321d3d93b12da36af2d20bbb8ea5b9 Mon Sep 17 00:00:00 2001 From: Aaron Plave Date: Tue, 11 Jun 2024 10:14:28 -0700 Subject: [PATCH] Style fixes --- src/components/form/Input.svelte | 3 + .../model/ModelAssociationsListItem.svelte | 71 +++++++++---------- .../scheduling/goals/SchedulingGoal.svelte | 9 ++- src/routes/plans/+page.svelte | 2 +- src/routes/tags/+page.svelte | 2 +- 5 files changed, 45 insertions(+), 42 deletions(-) diff --git a/src/components/form/Input.svelte b/src/components/form/Input.svelte index fef37f7b16..63cc49d409 100644 --- a/src/components/form/Input.svelte +++ b/src/components/form/Input.svelte @@ -170,7 +170,10 @@ .input > .left, .input > .right { + align-items: center; cursor: default; + display: flex; + height: 100%; position: absolute; } diff --git a/src/components/model/ModelAssociationsListItem.svelte b/src/components/model/ModelAssociationsListItem.svelte index cc199d274d..f4c4316e59 100644 --- a/src/components/model/ModelAssociationsListItem.svelte +++ b/src/components/model/ModelAssociationsListItem.svelte @@ -8,7 +8,6 @@ import { getTarget } from '../../utilities/generic'; import { permissionHandler } from '../../utilities/permissionHandler'; import { tooltip } from '../../utilities/tooltip'; - import Input from '../form/Input.svelte'; export let hasEditPermission: boolean = false; export let isSelected: boolean = false; @@ -121,42 +120,40 @@
{#if priority !== undefined}
- - - {#if hasEditPermission} -
- - -
- {/if} - + + {#if hasEditPermission} +
+ + +
+ {/if}
{/if} +
{/if} - +
+ diff --git a/src/routes/tags/+page.svelte b/src/routes/tags/+page.svelte index eb3d767a78..4375212487 100644 --- a/src/routes/tags/+page.svelte +++ b/src/routes/tags/+page.svelte @@ -432,7 +432,7 @@ Tags - +