Skip to content

Commit a3d13a5

Browse files
committed
Add !important to override global pre line-height
The global rule `pre { line-height: 1.5 !important }` in custom.css was overriding the diagram-specific line-height. Added !important to architectureDiagram pre rules to ensure line-height: 1 takes effect.
1 parent 4e8553c commit a3d13a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/index.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
font-family: "JetBrains Mono Variable", "JetBrains Mono", "Fira Code", "Source Code Pro", monospace;
7676
font-size: 13px;
7777
font-weight: 450;
78-
line-height: 1;
78+
line-height: 1 !important;
7979
letter-spacing: 0px;
8080
background: transparent;
8181
padding: 1px;
@@ -194,7 +194,7 @@ html[data-theme="dark"] .signupSectionFullWidth {
194194
.architectureDiagram pre {
195195
font-size: 1rem;
196196
padding: 15px;
197-
line-height: 1;
197+
line-height: 1 !important;
198198
}
199199

200200
.featuresGrid {

0 commit comments

Comments
 (0)