mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +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() {
|
@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 {
|
||||||
|
|
|
@ -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');
|
||||||
|
|
Loading…
Reference in a new issue