Change CSS definition of padding to better confer to standard (#2023)

"padding: inherit;" does not take any further arguments.
Further definitions will be moved to separate lines to produce valid CSS.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
This commit is contained in:
Phil-Ah
2022-05-09 09:16:26 +02:00
committed by GitHub
parent 4c94235414
commit 7676d709bb
2 changed files with 5 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
- type: fixed
description: separate definition of padding to produce valid CSS ([#2023](https://github.com/scm-manager/scm-manager/pull/2023))

View File

@@ -183,7 +183,9 @@ pre[class*="language-"] > code[class*="language-"] {
position: absolute; position: absolute;
left: 0; left: 0;
right: 0; right: 0;
padding: inherit 0; padding: inherit;
padding-left: 0;
padding-right: 0;
margin-top: 1em; margin-top: 1em;
background: var(--sh-highlight-background); background: var(--sh-highlight-background);
box-shadow: inset 5px 0 0 var(--sh-highlight-accent); box-shadow: inset 5px 0 0 var(--sh-highlight-accent);