mirror of
https://github.com/dmunozv04/iSponsorBlockTV.git
synced 2025-12-07 20:36:44 +03:00
fix autoplay padding
This commit is contained in:
@@ -363,3 +363,9 @@ MigrationScreen {
|
|||||||
width: 1fr;
|
width: 1fr;
|
||||||
content-align: center middle;
|
content-align: center middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Autoplay */
|
||||||
|
#autoplay-container{
|
||||||
|
padding: 1;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
@@ -864,11 +864,12 @@ class AutoPlayManager(Vertical):
|
|||||||
classes="subtitle",
|
classes="subtitle",
|
||||||
id="autoplay-subtitle",
|
id="autoplay-subtitle",
|
||||||
)
|
)
|
||||||
yield Checkbox(
|
with Horizontal(id="autoplay-container"):
|
||||||
value=self.config.auto_play,
|
yield Checkbox(
|
||||||
id="autoplay-switch",
|
value=self.config.auto_play,
|
||||||
label="Enable autoplay",
|
id="autoplay-switch",
|
||||||
)
|
label="Enable autoplay",
|
||||||
|
)
|
||||||
|
|
||||||
@on(Checkbox.Changed, "#autoplay-switch")
|
@on(Checkbox.Changed, "#autoplay-switch")
|
||||||
def changed_skip(self, event: Checkbox.Changed):
|
def changed_skip(self, event: Checkbox.Changed):
|
||||||
|
|||||||
Reference in New Issue
Block a user