feat: prepare CSS to hide empty battery group (Waybar PR #4941)
This commit is contained in:
1 parent
3aff1b3438
commit
a28b19c5d9
1 file changed
+13
@@ -114,6 +114,19 @@ widget widget>* {
|
|||||||
color: #cc3436;
|
color: #cc3436;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --- Battery group (hidden when empty, requires Waybar PR #4941) --- */
|
||||||
|
|
||||||
|
#bat.empty,
|
||||||
|
#bat.empty * {
|
||||||
|
min-width: 0;
|
||||||
|
min-height: 0;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
border: none;
|
||||||
|
font-size: 0;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* --- Battery --- */
|
/* --- Battery --- */
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
|
|||||||
Reference in new issue
Block a user