From f282623ef73b684c413d8a7fcf6cc7dac93fb4bf Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 30 Jan 2022 05:50:13 +0300 Subject: [PATCH] fix split-btn with popup.stylesFirst (#1394) --- global.css | 8 -------- popup.html | 4 ++-- popup/popup.css | 32 +++++++++++++++++++++++++++++--- popup/popup.js | 12 ++---------- 4 files changed, 33 insertions(+), 23 deletions(-) diff --git a/global.css b/global.css index 44e9bf58..fb5fa4ca 100644 --- a/global.css +++ b/global.css @@ -326,17 +326,9 @@ body.resizing-v > * { content: ''; border: var(--side) solid transparent; display: inline-block; -} -.split-btn-pedal:not(.up)::after { border-top: calc(var(--side) * 1.3) solid currentColor; vertical-align: bottom; } -.split-btn-pedal.up::after { - border-bottom: calc(var(--side) * 1.3) solid currentColor; - vertical-align: top; - position: relative; - top: 1px; -} .split-btn-pedal.active { box-shadow: inset 0 0 100px rgba(0, 0, 0, .2); } diff --git a/popup.html b/popup.html index c700be32..4ce7ccc0 100644 --- a/popup.html +++ b/popup.html @@ -190,7 +190,7 @@ -
+