Skip to content

Commit 86f4610

Browse files
committed
Minor stylesheet update.
Signed-off-by: bgravenorst <byron.gravenorst@consensys.net>
1 parent de61e64 commit 86f4610

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

src/components/ParserOpenRPC/DetailsBox/styles.module.scss

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,12 +362,13 @@
362362

363363
ul,
364364
ol {
365-
font-size: 1.4rem;
365+
font-size: 1.4rem !important;
366366
line-height: 1.5;
367+
margin: 0.5rem 0;
367368
}
368369

369370
li {
370-
font-size: 1.4rem;
371+
font-size: 1.4rem !important;
371372
line-height: 1.5;
372373
}
373374

@@ -377,6 +378,22 @@
377378
}
378379
}
379380

381+
// Additional high-specificity selectors to ensure lists match paragraph font size
382+
:global(.type-paragraph-m ul),
383+
:global(.type-paragraph-m ol),
384+
:global(.type-paragraph-m li) {
385+
font-size: 1.4rem !important;
386+
line-height: 1.5;
387+
}
388+
389+
// Even higher specificity for cases where lists break out of paragraphs
390+
:global(.description_Vomw ul),
391+
:global(.description_Vomw ol),
392+
:global(.description_Vomw li) {
393+
font-size: 1.4rem !important;
394+
line-height: 1.5;
395+
}
396+
380397
html[data-theme='dark'] {
381398
.paramWrapper,
382399
.borderWrapper,

0 commit comments

Comments
 (0)