mirror of
https://github.com/transmission/transmission
synced 2024-12-23 16:24:02 +00:00
fix: padding in overflow menu (#5001)
This commit is contained in:
parent
487cc27e11
commit
9d310b3a4d
2 changed files with 9 additions and 8 deletions
|
@ -1282,13 +1282,6 @@ $video-image: '../img/film.svg';
|
|||
@include for-phone-only() {
|
||||
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 {
|
||||
border: 0;
|
||||
|
@ -1315,6 +1308,13 @@ $video-image: '../img/film.svg';
|
|||
display: flex;
|
||||
flex-direction: row;
|
||||
padding: 3px 0;
|
||||
|
||||
// hide the fullscreen button unless we're on mobile
|
||||
@include for-tablet-portrait-up {
|
||||
&.display-fullscreen-row {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
legend {
|
||||
|
|
|
@ -248,7 +248,8 @@ export class OverflowMenu extends EventTarget {
|
|||
// fullscreen
|
||||
|
||||
div = document.createElement('div');
|
||||
div.classList.add('table-row');
|
||||
div.classList.add('table-row', 'display-fullscreen-row');
|
||||
|
||||
options.append(div);
|
||||
|
||||
check = document.createElement('input');
|
||||
|
|
Loading…
Reference in a new issue