Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/css/_settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ $mfp-caption-subtitle-color: #BDBDBD !default; // Ca

// A11y
$mfp-use-visuallyhidden: false !default; // Hide content from browsers, but make it available for screen readers

// breakpoints
$mfp-mobile-width: 900px !default; // max width to use for mobile breakpoint
$mfp-mobile-height: 300px !default; // max height for mobile portrait orientation
4 changes: 2 additions & 2 deletions src/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ button {


@if $mfp-include-mobile-layout-for-image {
@media screen and (max-width: 800px) and (orientation:landscape), screen and (max-height: 300px) {
@media screen and (max-width: $mfp-mobile-width) and (orientation:landscape), screen and (max-height: $mfp-mobile-height) {
/**
* Remove all paddings around the image on small screen
*/
Expand Down Expand Up @@ -522,7 +522,7 @@ button {


// Scale navigation arrows and reduce padding from sides
@media all and (max-width: 900px) {
@media all and (max-width: $mfp-mobile-width) {
.mfp-arrow {
-webkit-transform: scale(0.75);
transform: scale(0.75);
Expand Down