diff options
author | pacien | 2020-05-19 21:04:50 +0200 |
---|---|---|
committer | Notkea | 2020-05-22 01:02:18 +0200 |
commit | 037db071d42d4a7fdb8ed5cf88bc2c37fba4ae93 (patch) | |
tree | 926610765ed94d88f6f0642ec18e548c70808b44 /viewer/src/assets/scss | |
parent | 226e0beb50061844470bd8a717a74307b975bd96 (diff) | |
download | ldgallery-037db071d42d4a7fdb8ed5cf88bc2c37fba4ae93.tar.gz |
viewer/css/global: factorise util classes
Diffstat (limited to 'viewer/src/assets/scss')
-rw-r--r-- | viewer/src/assets/scss/global.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/viewer/src/assets/scss/global.scss b/viewer/src/assets/scss/global.scss index 5d2e6dc..f95a54d 100644 --- a/viewer/src/assets/scss/global.scss +++ b/viewer/src/assets/scss/global.scss | |||
@@ -36,6 +36,9 @@ button svg + span { | |||
36 | .nowrap { | 36 | .nowrap { |
37 | white-space: nowrap; | 37 | white-space: nowrap; |
38 | } | 38 | } |
39 | .no-scroll { | ||
40 | overflow: hidden; | ||
41 | } | ||
39 | .no-scroll-x { | 42 | .no-scroll-x { |
40 | overflow-x: hidden; | 43 | overflow-x: hidden; |
41 | } | 44 | } |
@@ -51,6 +54,11 @@ button svg + span { | |||
51 | align-items: center; | 54 | align-items: center; |
52 | } | 55 | } |
53 | 56 | ||
57 | .fill { | ||
58 | width: 100%; | ||
59 | height: 100%; | ||
60 | } | ||
61 | |||
54 | /** | 62 | /** |
55 | * Class for containers that centers its content vertically and horizontally, | 63 | * Class for containers that centers its content vertically and horizontally, |
56 | * preferably sticking to the container start if the container is smaller than the content. | 64 | * preferably sticking to the container start if the container is smaller than the content. |