Skip to content

A platform for community discussion. Free, open, simple.

FIX: Tweak right arrow position; set other arrow placements to default (#22848)

Ella E9e4c74765778
diff --git a/app/assets/stylesheets/common/base/user-tips.scss b/app/assets/stylesheets/common/base/user-tips.scss
index aedcf4bc4d0..73d168d2dc7 100644
--- a/app/assets/stylesheets/common/base/user-tips.scss
+++ b/app/assets/stylesheets/common/base/user-tips.scss
@@ -1,7 +1,6 @@
.tippy-box[data-theme="user-tip"] {
background-color: var(--tertiary);
color: var(--secondary);
- border-color: var(--tertiary);
.btn-flat {
color: var(--secondary);
@@ -53,23 +52,8 @@
}
}
-.tippy-box[data-theme~="user-tips"][data-placement^="left"]
- > .tippy-svg-arrow
- > svg {
- left: 12px;
-}
-
-.tippy-box[data-theme~="user-tips"][data-placement^="top"]
- > .tippy-svg-arrow
- > svg {
- top: 12px;
-}
-
-.tippy-box[data-theme~="user-tips"][data-placement^="bottom"]
- > .tippy-svg-arrow
- > svg {
- top: -14px;
- left: -1px;
+.tippy-box[data-placement^="left"] > .tippy-svg-arrow {
+ right: -1px;
}
.tippy-box[data-theme~="user-tips"] > .tippy-svg-arrow:after,