FIxed dark mode for button groups in editor preview

This commit is contained in:
Sanne de Vries 2021-08-26 17:24:58 +02:00
parent cb6a7bc179
commit e926591c34
2 changed files with 8 additions and 2 deletions

View File

@ -263,10 +263,18 @@ input:focus,
color: var(--black);
}
.gh-btn-group {
background: var(--whitegrey-l2);
}
.gh-btn-group .gh-btn:first-of-type {
border-right: none !important;
}
.gh-btn-group .gh-btn-group-selected span {
background: var(--lightgrey-l1) !important;
}
.gh-btn-blue,
.gh-btn-green,
.gh-btn-red {

View File

@ -454,8 +454,6 @@ Usage: CTA buttons grouped together horizontally.
.gh-btn-group .gh-btn-group-selected span {
color: var(--black);
padding-left: 12px;
padding-right: 12px;
background: var(--white) !important;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}