1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00

fix: padding in overflow menu (#5001)

This commit is contained in:
Charles Kerr 2023-02-22 18:31:24 -06:00 committed by GitHub
parent 487cc27e11
commit 9d310b3a4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 8 deletions

View file

@ -1282,13 +1282,6 @@ $video-image: '../img/film.svg';
@include for-phone-only() { @include for-phone-only() {
height: 80vh; height: 80vh;
} }
// hide the fullscreen button unless we're on mobile
@include for-tablet-portrait-up {
#display-fullscreen-check,
#display-fullscreen-label {
display: none;
}
}
fieldset { fieldset {
border: 0; border: 0;
@ -1315,6 +1308,13 @@ $video-image: '../img/film.svg';
display: flex; display: flex;
flex-direction: row; flex-direction: row;
padding: 3px 0; padding: 3px 0;
// hide the fullscreen button unless we're on mobile
@include for-tablet-portrait-up {
&.display-fullscreen-row {
display: none;
}
}
} }
legend { legend {

View file

@ -248,7 +248,8 @@ export class OverflowMenu extends EventTarget {
// fullscreen // fullscreen
div = document.createElement('div'); div = document.createElement('div');
div.classList.add('table-row'); div.classList.add('table-row', 'display-fullscreen-row');
options.append(div); options.append(div);
check = document.createElement('input'); check = document.createElement('input');