Skip to content

Commit

Permalink
TCI-1133: restore tablet minimum view size (#833)
Browse files Browse the repository at this point in the history
  • Loading branch information
melwong-jcc committed Aug 24, 2023
1 parent 4b8bda1 commit 08425a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions source/_patterns/03-organisms/offcanvas/_offcanvas.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ $_config: map-merge-by-keys($_config_schemes, base, $_config_schemes, $scheme);
@include u-position(fixed);
@include u-z(top);
@include u-bottom(0);
@include at-media("tablet") {
@include at-media(tablet) {
@include u-right(0);
}

Expand Down Expand Up @@ -80,7 +80,7 @@ $_config: map-merge-by-keys($_config_schemes, base, $_config_schemes, $scheme);
@include u-display(flex);
@include u-justify-content(justify-center);
@include u-margin-bottom(0);
@include at-media("tablet") {
@include at-media(tablet) {
@include u-margin-bottom(4);
}

Expand All @@ -95,7 +95,7 @@ $_config: map-merge-by-keys($_config_schemes, base, $_config_schemes, $scheme);

.block {
@include u-display(inline);
@include at-media("tablet") {
@include at-media(tablet) {
@include u-display(block);
@include u-margin-right(1);
}
Expand Down
2 changes: 1 addition & 1 deletion source/_patterns/03-organisms/offcanvas/offcanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const $offcanvas_container = $('[data-offcanvas="container"]');
const $offcanvas_dialog = $('[data-offcanvas="dialog"]');
const $offcanvas_confirmation = $('[data-offcanvas="container"] .webform-confirmation');
const drupalWebForm = ".jcc-offcanvas__dialog-body .webform-ajax-form-wrapper";
const min_tablet_width = 800;
const min_tablet_width = 640;
const triggerContainer = ".jcc-offcanvas__trigger-container";

// Functions.
Expand Down

0 comments on commit 08425a7

Please sign in to comment.