aboutsummaryrefslogtreecommitdiff
path: root/src/components/flash/flash.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-06-18 02:01:37 +0300
committerHenry Jameson <me@hjkos.com>2021-06-18 02:03:38 +0300
commit90345f158ff2eb12e619dbd7406f2fa81c379637 (patch)
treedfb6525618c641cfe94b1b342de36e8a280c6cfb /src/components/flash/flash.vue
parente654fead23ebb457f81e8642c65e1f3e98ee0027 (diff)
gallery now supports flash, fixes for flash component. refactored media modal
Diffstat (limited to 'src/components/flash/flash.vue')
-rw-r--r--src/components/flash/flash.vue21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/components/flash/flash.vue b/src/components/flash/flash.vue
index 5a77d235..95f71950 100644
--- a/src/components/flash/flash.vue
+++ b/src/components/flash/flash.vue
@@ -44,8 +44,9 @@
<style lang="scss">
@import '../../_variables.scss';
.Flash {
+ display: inline-block;
width: 100%;
- height: 260px;
+ height: 100%;
position: relative;
.player {
@@ -53,6 +54,16 @@
width: 100%;
}
+ .placeholder {
+ height: 100%;
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background: var(--bg);
+ color: var(--link);
+ }
+
.hider {
top: 0;
}
@@ -69,13 +80,5 @@
display: none;
visibility: 'hidden';
}
-
- .placeholder {
- height: 100%;
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- }
}
</style>