Skip to content

Commit fe745ad

Browse files
committed
fix: fix scss
1 parent 16ab0cc commit fe745ad

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/components/FixedHeightQuery/FixedHeightQuery.scss

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77

88
// Target the YDBSyntaxHighlighter wrapper
99
> div {
10-
display: box;
11-
-webkit-box-orient: vertical;
12-
-webkit-line-clamp: var(--line-clamp, 4);
1310
overflow: hidden;
1411

1512
height: 100%;
@@ -18,14 +15,15 @@
1815

1916
// Target the ReactSyntaxHighlighter pre element
2017
pre {
21-
display: box !important;
18+
// stylelint-disable-next-line value-no-vendor-prefix
19+
display: -webkit-box !important;
2220
-webkit-box-orient: vertical !important;
2321
-webkit-line-clamp: var(--line-clamp, 4) !important;
2422
overflow: hidden !important;
2523

2624
height: 100% !important;
2725
margin: 0 !important;
28-
padding: 8px !important;
26+
padding: var(--g-spacing-2) !important;
2927

3028
white-space: pre-wrap !important;
3129
text-overflow: ellipsis !important;
@@ -34,9 +32,6 @@
3432

3533
// Target code elements within
3634
code {
37-
display: box !important;
38-
-webkit-box-orient: vertical !important;
39-
-webkit-line-clamp: var(--line-clamp, 4) !important;
4035
overflow: hidden !important;
4136

4237
white-space: pre-wrap !important;

0 commit comments

Comments
 (0)