aboutsummaryrefslogtreecommitdiff
path: root/src/components/popper
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-10-29 06:37:23 +0000
committerShpuld Shpludson <shp@cock.li>2019-10-29 06:37:23 +0000
commitc79da5c4565f664290aa43fa925f978eb2810a2d (patch)
treef5331520871810507e4f6fe15a8bf455fcf7924d /src/components/popper
parent3a3db35985ea8e2bb6babc92fcd247fc86df0309 (diff)
parent237d95b0f73d9d20df0b8c4668110ce09a5527de (diff)
Merge branch '599' into 'develop'
Fix "Posts get cut off when there is not enough space to display them at the bottom" Closes #599 See merge request pleroma/pleroma-fe!863
Diffstat (limited to 'src/components/popper')
-rw-r--r--src/components/popper/popper.scss9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/components/popper/popper.scss b/src/components/popper/popper.scss
index 279b01be..06daa871 100644
--- a/src/components/popper/popper.scss
+++ b/src/components/popper/popper.scss
@@ -20,7 +20,6 @@
margin: 5px;
border-color: $fallback--bg;
border-color: var(--bg, $fallback--bg);
- z-index: 1;
}
&[x-placement^="top"] {
@@ -31,7 +30,7 @@
border-left-color: transparent !important;
border-right-color: transparent !important;
border-bottom-color: transparent !important;
- bottom: -5px;
+ bottom: -4px;
left: calc(50% - 5px);
margin-top: 0;
margin-bottom: 0;
@@ -46,7 +45,7 @@
border-left-color: transparent !important;
border-right-color: transparent !important;
border-top-color: transparent !important;
- top: -5px;
+ top: -4px;
left: calc(50% - 5px);
margin-top: 0;
margin-bottom: 0;
@@ -61,7 +60,7 @@
border-left-color: transparent !important;
border-top-color: transparent !important;
border-bottom-color: transparent !important;
- left: -5px;
+ left: -4px;
top: calc(50% - 5px);
margin-left: 0;
margin-right: 0;
@@ -76,7 +75,7 @@
border-top-color: transparent !important;
border-right-color: transparent !important;
border-bottom-color: transparent !important;
- right: -5px;
+ right: -4px;
top: calc(50% - 5px);
margin-left: 0;
margin-right: 0;