mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-18 03:01:05 +01:00
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:
2
gradle/changelog/valid_CSS.yaml
Normal file
2
gradle/changelog/valid_CSS.yaml
Normal 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))
|
||||
@@ -183,7 +183,9 @@ pre[class*="language-"] > code[class*="language-"] {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: inherit 0;
|
||||
padding: inherit;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
margin-top: 1em;
|
||||
background: var(--sh-highlight-background);
|
||||
box-shadow: inset 5px 0 0 var(--sh-highlight-accent);
|
||||
|
||||
Reference in New Issue
Block a user