Browse Source

Merge pull request #3180 from mdehoog/media-query-consistency

Fixed inconsistent use of media query breakpoints
pull/3187/head
Jack Lukic 9 years ago
parent
commit
bd2d74bd51
4 changed files with 6 additions and 6 deletions
  1. 2
      src/definitions/elements/divider.less
  2. 2
      src/definitions/elements/step.less
  3. 6
      src/definitions/modules/modal.less
  4. 2
      src/definitions/views/ad.less

2
src/definitions/elements/divider.less

@ -132,7 +132,7 @@
} }
/* Inside grid */ /* Inside grid */
@media only screen and (max-width : (@tabletBreakpoint - 1px)) {
@media only screen and (max-width : @largestMobileScreen) {
.ui.stackable.grid .ui.vertical.divider, .ui.stackable.grid .ui.vertical.divider,
.ui.grid .stackable.row .ui.vertical.divider { .ui.grid .stackable.row .ui.vertical.divider {

2
src/definitions/elements/step.less

@ -392,7 +392,7 @@
---------------*/ ---------------*/
/* Tablet Or Below */ /* Tablet Or Below */
@media only screen and (max-width: @computerBreakpoint) {
@media only screen and (max-width: @largestTabletScreen) {
.ui[class*="tablet stackable"].steps { .ui[class*="tablet stackable"].steps {
display: inline-flex; display: inline-flex;

6
src/definitions/modules/modal.less

@ -211,7 +211,7 @@
} }
/* Tablet and Mobile */ /* Tablet and Mobile */
@media only screen and (max-width : @computerBreakpoint) {
@media only screen and (max-width : @largestTabletScreen) {
.ui.modal > .header { .ui.modal > .header {
padding-right: @closeHitbox; padding-right: @closeHitbox;
} }
@ -313,7 +313,7 @@
} }
/* Tablet and Mobile */ /* Tablet and Mobile */
@media only screen and (max-width : @computerBreakpoint) {
@media only screen and (max-width : @largestTabletScreen) {
.ui.basic.modal > .close { .ui.basic.modal > .close {
color: @basicInnerCloseColor; color: @basicInnerCloseColor;
} }
@ -371,7 +371,7 @@
z-index: auto; z-index: auto;
} }
@media only screen and (max-width : @computerBreakpoint) {
@media only screen and (max-width : @largestTabletScreen) {
.modals.dimmer .ui.scrolling.modal { .modals.dimmer .ui.scrolling.modal {
margin-top: @mobileScrollingMargin !important; margin-top: @mobileScrollingMargin !important;
margin-bottom: @mobileScrollingMargin !important; margin-bottom: @mobileScrollingMargin !important;

2
src/definitions/views/ad.less

@ -225,7 +225,7 @@
display: none; display: none;
} }
@media only screen and (max-width : (@tabletBreakpoint - 1)) {
@media only screen and (max-width : @largestMobileScreen) {
.ui.mobile.ad { .ui.mobile.ad {
display: block; display: block;
} }

Loading…
Cancel
Save