diff --git a/src/components/tabs/StorageTab.vue b/src/components/tabs/StorageTab.vue index 6e9fba9..3ec0e40 100644 --- a/src/components/tabs/StorageTab.vue +++ b/src/components/tabs/StorageTab.vue @@ -6,51 +6,49 @@
-
- -
  • -
    -

    - {{ storageEntry.id }} -

    + +
  • +
    +

    + {{ storageEntry.id }} +

    -
    - +
    + - + - -
    +
    +
    -
    - - {{ $t('storage.created-at') }} - {{ new Date(storageEntry.createdAt).toLocaleString($i18n.locale) }} - - • {{ $t('storage.updated-at') }} {{ new Date(storageEntry.updatedAt).toLocaleString($i18n.locale) }} +
    + + {{ $t('storage.created-at') }} + {{ new Date(storageEntry.createdAt).toLocaleString($i18n.locale) }} + + • {{ $t('storage.updated-at') }} {{ new Date(storageEntry.updatedAt).toLocaleString($i18n.locale) }} -
    - {{ $t('storage.stock-title') }} - {{ shortenStockString(storageEntry.stockString) }} -
    +
    + {{ $t('storage.stock-title') }} + {{ shortenStockString(storageEntry.stockString) }}
    -
  • +
    + -
  • - {{ $t('storage.no-entires') }} -
  • - -
    +
  • + {{ $t('storage.no-entires') }} +
  • + @@ -157,9 +155,7 @@ export default defineComponent({ .tab_content { overflow: auto; -} - -.storage-list-wrapper { + margin-top: 1em; position: relative; } @@ -167,7 +163,6 @@ ul.storage-list { display: flex; flex-direction: column; gap: 0.5em; - margin-top: 0.5em; } ul.storage-list > li { @@ -181,12 +176,14 @@ ul.storage-list > li { .storage-item-top { display: flex; + justify-content: space-between; + flex-wrap: wrap; align-items: center; gap: 0.5em; } .storage-item-top > h3 { - width: 100%; + min-width: 350px; text-align: left; margin: 0; } @@ -215,7 +212,7 @@ ul.storage-list > li { &-move, &-enter-active, &-leave-active { - transition: all 120ms ease-in-out; + transition: all 100ms ease-in-out; } &-enter-from { diff --git a/src/components/tabs/stock-list/StockList.vue b/src/components/tabs/stock-list/StockList.vue index e011179..1f97f91 100644 --- a/src/components/tabs/stock-list/StockList.vue +++ b/src/components/tabs/stock-list/StockList.vue @@ -11,6 +11,7 @@
  • li { display: flex; align-items: center; justify-content: space-between; - min-width: 500px; white-space: nowrap; margin: 0.25em 0;