aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-06-22 20:32:55 +0300
committerHenry Jameson <me@hjkos.com>2021-06-22 20:32:55 +0300
commit4016182b89dacbc9095ee7f4d2e021bb9fad65d0 (patch)
tree8db02e9581164b6c428e0f0917b168a9cbd8740c /src
parent6b8b9c017f5f07ad1b7c6692393554e5bf5d0f45 (diff)
fix z-indexes
Diffstat (limited to 'src')
-rw-r--r--src/components/attachment/attachment.scss7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/components/attachment/attachment.scss b/src/components/attachment/attachment.scss
index f902f37d..b4a81a08 100644
--- a/src/components/attachment/attachment.scss
+++ b/src/components/attachment/attachment.scss
@@ -13,14 +13,12 @@
border-radius: var(--attachmentRadius, $fallback--attachmentRadius);
border-color: $fallback--border;
border-color: var(--border, $fallback--border);
- z-index: 1;
.attachment-wrapper {
flex: 1 1 auto;
height: 100%;
position: relative;
overflow: hidden;
- z-index: 2;
}
.description-container {
@@ -44,7 +42,6 @@
left: 0;
right: 0;
top: 0;
- z-index: 1;
background: var(--popover);
box-shadow: var(--popupShadow);
opacity: 0;
@@ -91,7 +88,6 @@
max-height: 100%;
object-fit: contain;
align-self: center;
- z-index: 0;
}
}
@@ -123,13 +119,12 @@
position: absolute;
right: 0;
top: 0;
- z-index: 2;
margin-top: 0.5em;
margin-right: 0.5em;
+ z-index: 1;
.attachment-button {
padding: 0;
- z-index: 4;
border-radius: $fallback--tooltipRadius;
border-radius: var(--tooltipRadius, $fallback--tooltipRadius);
text-align: center;