Restore 5px button margins for TV mode

They were reduced too much recently, causing chapter marks to not fit properly onto the controls bar
This commit is contained in:
Rafał Dzięgiel
2021-03-31 08:56:00 +02:00
parent 66ce006f00
commit 96e5c5aa7c
2 changed files with 2 additions and 6 deletions

View File

@@ -80,10 +80,6 @@ radio {
margin-left: 2px; margin-left: 2px;
margin-right: 2px; margin-right: 2px;
} }
.tvmode .playercontrols {
margin-left: 1px;
margin-right: 1px;
}
.playercontrols button { .playercontrols button {
margin: 3px; margin: 3px;
margin-left: 1px; margin-left: 1px;
@@ -92,7 +88,7 @@ radio {
.tvmode .playercontrols button { .tvmode .playercontrols button {
min-width: 32px; min-width: 32px;
min-height: 32px; min-height: 32px;
margin: 4px; margin: 5px;
margin-left: 3px; margin-left: 3px;
margin-right: 3px; margin-right: 3px;
} }

View File

@@ -3,7 +3,7 @@ const { GObject, Gtk } = imports.gi;
/* Negative values from CSS */ /* Negative values from CSS */
const PopoverOffset = { const PopoverOffset = {
DEFAULT: -3, DEFAULT: -3,
TVMODE: -4, TVMODE: -5,
}; };
var CustomButton = GObject.registerClass( var CustomButton = GObject.registerClass(