aboutsummaryrefslogtreecommitdiff
path: root/src/components/update_notification/update_notification.scss
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-09-20 00:24:08 +0300
committerHenry Jameson <me@hjkos.com>2022-09-20 00:24:08 +0300
commitfa1d9f3fb4a886cde2553739f5f9a83aa35f2fdd (patch)
tree0ea0a8d87ce26c0f56ff119dc836258a87889587 /src/components/update_notification/update_notification.scss
parentd8730cad602fe5ba7faf7cefc4a1a67cd0896d9d (diff)
using the half-shit approach since proper approach is full-shit
Diffstat (limited to 'src/components/update_notification/update_notification.scss')
-rw-r--r--src/components/update_notification/update_notification.scss12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/components/update_notification/update_notification.scss b/src/components/update_notification/update_notification.scss
index 8cad1bc7..ce8129d0 100644
--- a/src/components/update_notification/update_notification.scss
+++ b/src/components/update_notification/update_notification.scss
@@ -35,6 +35,12 @@
margin-top: calc(-1 * var(--__top-fringe));
margin-bottom: calc(-1 * var(--__bottom-fringe));
margin-right: calc(-1 * var(--__right-fringe));
+
+ &.-noImage {
+ .text {
+ padding-right: var(--__right-fringe);
+ }
+ }
}
.panel-body {
@@ -75,9 +81,9 @@
.extra-info-group {
transition: max-height, padding, height;
- transition-timing-function: ease-in-out;
- transition-duration: 500ms;
- max-height: calc(var(--____extraInfoGroupHeight) + 1em); // include bottom padding
+ transition-timing-function: ease-in;
+ transition-duration: 700ms;
+ max-height: 70vh;
mask:
linear-gradient(to top, white, transparent) bottom/100% 2px no-repeat,
linear-gradient(to top, white, white);