Fix CSS margin/width shorthand compatibility in shell widget
Expand shorthand `margin` and `width` properties for `.section` and `.brightness-levelbar` to individual longhand properties, likely to avoid issues with older GTK/CSS parsing.
This commit is contained in:
@@ -30,7 +30,10 @@ window.pinenote-shell-widget .header {
|
||||
window.pinenote-shell-widget .section {
|
||||
background-color: rgba(255, 255, 255, 0.05);
|
||||
padding: 16px;
|
||||
margin: 8px 16px;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 8px;
|
||||
margin-left: 16px;
|
||||
margin-right: 16px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
@@ -44,8 +47,12 @@ window.pinenote-shell-widget .title {
|
||||
|
||||
window.pinenote-shell-widget .brightness-levelbar {
|
||||
min-height: 200px;
|
||||
width: 20px;
|
||||
margin: 0 auto;
|
||||
min-width: 20px;
|
||||
max-width: 20px;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
background-color: rgba(255, 255, 255, 0.05);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user