mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-31 07:52:42 +01:00 
			
		
		
		
	Set default minimal width of buttons to zero
Even if all margins, padding and borders of buttons are removed the label inside the buttons may still be padded if they are too short. Setting the minimal width of buttons to zero fixes this issue.
This commit is contained in:
		| @@ -40,6 +40,8 @@ button { | ||||
|     /* Avoid rounded borders under each button name */ | ||||
|     border: none; | ||||
|     border-radius: 0; | ||||
|     /* https://github.com/Alexays/Waybar/issues/1731 */ | ||||
|     min-width: 0; | ||||
| } | ||||
|  | ||||
| /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Simon Plakolb
					Simon Plakolb