Correct styling of syntax highlighter .section elements (#1984)

Fixes styling of syntax highlighter .section elements which causes unsightly rendering due to a global definition by bulma.
This commit is contained in:
Florian Scholdei
2022-03-30 09:40:48 +02:00
committed by GitHub
parent 4d203ff36f
commit 5505b3ce11
3 changed files with 348 additions and 342 deletions

View File

@@ -0,0 +1,2 @@
- type: fixed
description: Correct styling of syntax highlighter .section elements ([#1984](https://github.com/scm-manager/scm-manager/pull/1984))

View File

@@ -61,6 +61,10 @@ const RowContainer = styled.div`
&:hover i {
visibility: visible;
}
// override bulma default styling of .section
.section {
padding: 0;
}
`;
type CreateLinePermaLinkFn = (lineNumber: number) => string;