diff --git a/front/src/composables/width.ts b/front/src/composables/width.ts index 39e4ebae1..929f4e589 100644 --- a/front/src/composables/width.ts +++ b/front/src/composables/width.ts @@ -3,6 +3,7 @@ import type { HTMLAttributes } from "vue"; export type WidthProps = | { minContent?: true } + | { iconWidth?: true } | { tiny?: true } | { buttonWidth?: true } | { small?: true } @@ -14,6 +15,7 @@ export type Key = KeysOfUnion const styles = { minContent: 'width: min-content;', + iconWidth: 'width: 40px;', tiny: "width: 124px; grid-column: span 2;", buttonWidth: "width: 136px; grid-column: span 2; flex-grow: 0; min-width: min-content;", small: "width: 202px; grid-column: span 3;", diff --git a/front/src/ui/components/Sidebar.vue b/front/src/ui/components/Sidebar.vue index c3be3d95a..62b358002 100644 --- a/front/src/ui/components/Sidebar.vue +++ b/front/src/ui/components/Sidebar.vue @@ -58,7 +58,7 @@ const logoUrl = computed(() => store.state.auth.authenticated ? 'library.index'