From f391a682dbd725c1d8aba9c571472bd390bb6a8d Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Sat, 4 Apr 2020 03:33:25 +0200 Subject: viewer: items with long titles overflow fixed line-height issue on filenames and icon heights GitHub: Resolves #137 --- viewer/src/assets/scss/theme.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'viewer/src/assets') diff --git a/viewer/src/assets/scss/theme.scss b/viewer/src/assets/scss/theme.scss index bbf4843..0028688 100644 --- a/viewer/src/assets/scss/theme.scss +++ b/viewer/src/assets/scss/theme.scss @@ -51,6 +51,7 @@ $button-border-color: $palette-500; $button-focus-color: $button-color; $button-focus-border-color: $link; $button-focus-box-shadow-size: 0; +$body-line-height: 1.5; // Custom components @@ -65,7 +66,7 @@ $loader-color: $palette-800; $input-tag-delete-background-color: $palette-700; $breadcrumb-margins: 12px; $breadcrumb-overflow-mask-size: $breadcrumb-margins + 60px; -$thumbnail-other-size: 10em; +$thumbnail-other-size: $body-line-height * 9em; // Layout -- cgit v1.2.3