{@html userContent(details)}
@@ -110,9 +125,10 @@ line-height: inherit; } .header{ - @include display-flex(row, center); + @include display-flex(row, center, space-between); + width: 100%; } - .indicator{ - margin-inline-start: auto; + .details{ + margin-block-start: 0.5em; } diff --git a/app/modules/inventory/components/item_notes.svelte b/app/modules/inventory/components/item_notes.svelte index ab2a75eb1..11c7ba5b0 100644 --- a/app/modules/inventory/components/item_notes.svelte +++ b/app/modules/inventory/components/item_notes.svelte @@ -36,20 +36,18 @@
-
- {I18n('private notes')}
-
- {@html icon('lock')}
-
- editMode = true}
>
- {@html icon('pencil')}
-
-
- {#if editMode}
+ {I18n('private notes')}
+
+ {@html icon('lock')}
+
+