refactor: remove min width of heater-list temp
it's not needed since the rewrite of update_temp
This commit is contained in:
1 parent
f9392e674f
commit
243e67609b
3 files changed
-16
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user