Skip to content

Commit 3d6d3a6

Browse files
committed
fix: adapt new query header styles
1 parent 2944c37 commit 3d6d3a6

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

src/_queries.scss

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616
margin-top: 12px;
1717
}
1818

19-
:is(.dsl-query, #today-queries, .block-body)
20-
> .custom-query
21-
.foldable-title
22-
.opacity-70 {
23-
display: block;
19+
.dsl-query .custom-query-title > .font-medium,
20+
:not(.dsl-query) > .custom-query .custom-query-title {
21+
display: inline-block;
2422
opacity: 1;
2523
padding: 5px 10px 2px 10px !important;
2624
background: var(--ct-query-header-background);
@@ -32,6 +30,20 @@
3230
text-shadow: 1px 1px 0px black, 1px 1px 1px rgb(136, 136, 136);
3331
}
3432

33+
:not(.dsl-query):not(#today-queries) > .custom-query .custom-query-title {
34+
margin-bottom: 1.5em;
35+
}
36+
37+
:not(.dsl-query) > .custom-query .custom-query-title > .flex-row {
38+
position: absolute;
39+
left: 24px;
40+
text-shadow: none;
41+
font-family: inherit;
42+
color: var(--ls-primary-text-color);
43+
font-size: 0.875rem;
44+
font-family: var(--ls-font-family);
45+
}
46+
3547
.dsl-query > .custom-query .foldable-title .opacity-70 code {
3648
background: none;
3749
color: var(--ct-query-header-color);

0 commit comments

Comments
 (0)