Compare commits

...

1 Commits

Author SHA1 Message Date
dmunozv04
afc4ee7410 fixes autoplay padding 2024-06-21 16:25:26 +02:00
2 changed files with 12 additions and 5 deletions

View File

@@ -363,3 +363,9 @@ MigrationScreen {
width: 1fr;
content-align: center middle;
}
/* Autoplay */
#autoplay-container{
padding: 1;
height: auto;
}

View File

@@ -864,11 +864,12 @@ class AutoPlayManager(Vertical):
classes="subtitle",
id="autoplay-subtitle",
)
yield Checkbox(
value=self.config.auto_play,
id="autoplay-switch",
label="Enable autoplay",
)
with Horizontal(id="autoplay-container"):
yield Checkbox(
value=self.config.auto_play,
id="autoplay-switch",
label="Enable autoplay",
)
@on(Checkbox.Changed, "#autoplay-switch")
def changed_skip(self, event: Checkbox.Changed):