refactor: remove min width of heater-list temp

it's not needed since the rewrite of update_temp
This commit is contained in:
Alfredo Monclus committed 2024-07-07 14:41:41 -03:00
1 parent f9392e674f
commit 243e67609b
3 files changed
-16

No files matched your search

-4
View File
@@ -220,10 +220,6 @@ class Panel(MenuPanel):
name = Gtk.Label()
temp = Gtk.Label(label=_("Temp (°C)"))
if self._show_heater_power:
temp.get_style_context().add_class("heater-grid-temp-power")
else:
temp.get_style_context().add_class("heater-grid-temp")
self.labels['devices'].attach(name, 0, 0, 1, 1)
self.labels['devices'].attach(temp, 1, 0, 1, 1)
-4
View File
@@ -514,10 +514,6 @@ class Panel(ScreenPanel):
name = Gtk.Label()
temp = Gtk.Label(_("Temp (°C)"))
if self._show_heater_power:
temp.get_style_context().add_class("heater-grid-temp-power")
else:
temp.get_style_context().add_class("heater-grid-temp")
self.labels["devices"].attach(name, 0, 0, 1, 1)
self.labels["devices"].attach(temp, 1, 0, 1, 1)
-8
View File
@@ -366,14 +366,6 @@ trough {
padding: 0 .5em;
}
.heater-grid-temp {
min-width: 5.5em;
}
.heater-grid-temp-power {
min-width: 8em;
}
.keyboard_matchbox {
margin-top: 42px;
}