mirror of
https://github.com/nasa/openmct.git
synced 2025-01-02 19:36:41 +00:00
[Mobile] Device
Removes desktop mixin settings that do not use device width and height.
This commit is contained in:
parent
61e1aeb1d8
commit
4d4776e0ef
@ -357,7 +357,7 @@
|
||||
.items-holder .item.grid-item {
|
||||
width: 100%;
|
||||
height: 100px; } }
|
||||
@media screen and (min-device-width: 801px) and (orientation: portrait), screen and (min-device-width: 1025px) and (orientation: landscape) {
|
||||
@media screen and (min-device-width: 801px) and (min-device-height: 1025px) {
|
||||
/* line 24, ../sass/mobile/_item.scss */
|
||||
.items-holder .item.grid-item {
|
||||
width: 200px;
|
||||
|
@ -816,7 +816,7 @@ mct-container {
|
||||
/* line 81, ../sass/mobile/_layout.scss */
|
||||
.mobile-menu-icon {
|
||||
top: 5px; }
|
||||
@media screen and (min-device-width: 801px) and (orientation: portrait), screen and (min-device-width: 1025px) and (orientation: landscape) {
|
||||
@media screen and (min-device-width: 801px) and (min-device-height: 1025px) {
|
||||
/* line 81, ../sass/mobile/_layout.scss */
|
||||
.mobile-menu-icon {
|
||||
display: none; } }
|
||||
@ -829,7 +829,7 @@ mct-container {
|
||||
/* line 88, ../sass/mobile/_layout.scss */
|
||||
.browse-manage {
|
||||
width: 400px; } }
|
||||
@media screen and (min-device-width: 801px) and (orientation: portrait), screen and (min-device-width: 1025px) and (orientation: landscape) {
|
||||
@media screen and (min-device-width: 801px) and (min-device-height: 1025px) {
|
||||
/* line 88, ../sass/mobile/_layout.scss */
|
||||
.browse-manage {
|
||||
min-width: 150px;
|
||||
|
@ -43,8 +43,7 @@
|
||||
//}
|
||||
|
||||
@mixin desktop {
|
||||
@media screen and (min-device-width: $compMinW) and (orientation: portrait),
|
||||
screen and (min-device-width: $compMinH) and (orientation: landscape) {
|
||||
@media #{$compBoth} {
|
||||
@content
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user