diff options
Diffstat (limited to 'viewer/src/assets')
-rw-r--r-- | viewer/src/assets/scss/global.scss | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/viewer/src/assets/scss/global.scss b/viewer/src/assets/scss/global.scss index 9444548..5d2e6dc 100644 --- a/viewer/src/assets/scss/global.scss +++ b/viewer/src/assets/scss/global.scss | |||
@@ -51,6 +51,17 @@ button svg + span { | |||
51 | align-items: center; | 51 | align-items: center; |
52 | } | 52 | } |
53 | 53 | ||
54 | /** | ||
55 | * 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. | ||
57 | */ | ||
58 | .container-vh-centering { | ||
59 | min-height: 100%; | ||
60 | display: flex; | ||
61 | align-items: center; | ||
62 | justify-content: center; | ||
63 | } | ||
64 | |||
54 | // === Links | 65 | // === Links |
55 | 66 | ||
56 | .link { | 67 | .link { |