From 416e9f122ccff17d136e553ab8e70bfe42dd419c Mon Sep 17 00:00:00 2001
From: Martin Leblanc <m26lebla@uwaterloo.ca>
Date: Thu, 17 Jun 2021 03:09:40 +0000
Subject: [PATCH]  reset multi list tabs for desktop

---
 css/styles.css                                |  6 ++--
 js/component_scripts.min.js                   | 34 +++++++++----------
 .../_patterns/04-components/tabs/_tabs.scss   |  9 +++--
 3 files changed, 24 insertions(+), 25 deletions(-)

diff --git a/css/styles.css b/css/styles.css
index e1ca98da..f8161b64 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -7732,14 +7732,14 @@ picture {
   margin: 0 0 0 0.15rem;
   max-width: inherit;
   padding: 0.5rem 1rem; }
-  @media (min-width: 63.1875rem) {
+  @media (min-width: 48.06rem) {
     .uw-tablinks {
       border-bottom: 0.4rem solid #fff;
-      font-size: 14.22224px;
+      font-size: 18px;
       font-weight: inherit;
       margin: 0 0 0 0.15rem;
       max-width: inherit;
-      padding: inherit; } }
+      padding: 1rem 2rem; } }
   .uw-tablinks[aria-selected="true"] {
     background: #eee;
     border-bottom: 0.4rem solid #4e4e4e;
diff --git a/js/component_scripts.min.js b/js/component_scripts.min.js
index 696a4a4c..eb2222db 100644
--- a/js/component_scripts.min.js
+++ b/js/component_scripts.min.js
@@ -1,3 +1,20 @@
+/**
+ * @file
+ * Ckeditor Modal.
+ */
+
+(function ($, Drupal) {
+  if ($.ui && $.ui.dialog) {
+    orig_allowInteraction = $.ui.dialog.prototype._allowInteraction;
+    $.ui.dialog.prototype._allowInteraction = function (event) {
+      if ($(event.target).closest('.cke_dialog').length) {
+        return true;
+      }
+      return orig_allowInteraction.apply(this, arguments);
+    };
+  }
+})(jQuery, Drupal);
+
 /**
  * @file
  */
@@ -329,23 +346,6 @@ else {
   };
 })(jQuery);
 
-/**
- * @file
- * Ckeditor Modal.
- */
-
-(function ($, Drupal) {
-  if ($.ui && $.ui.dialog) {
-    orig_allowInteraction = $.ui.dialog.prototype._allowInteraction;
-    $.ui.dialog.prototype._allowInteraction = function (event) {
-      if ($(event.target).closest('.cke_dialog').length) {
-        return true;
-      }
-      return orig_allowInteraction.apply(this, arguments);
-    };
-  }
-})(jQuery, Drupal);
-
 /**
  * @file
  */
diff --git a/source/_patterns/04-components/tabs/_tabs.scss b/source/_patterns/04-components/tabs/_tabs.scss
index 8ac0b434..9d6bf9e0 100644
--- a/source/_patterns/04-components/tabs/_tabs.scss
+++ b/source/_patterns/04-components/tabs/_tabs.scss
@@ -32,15 +32,14 @@
   font-weight:inherit;
   margin:0 0 0 0.15rem;
   max-width: inherit;
-  padding:0.5rem 1rem;
-  @include large{
-
+  padding: 0.5rem 1rem;
+  @include medium{
     border-bottom: 0.4rem solid #fff;
-    font-size: gesso-font-size(-1);
+    font-size: gesso-font-size(1);
     font-weight:inherit;
     margin:0 0 0 0.15rem;
     max-width: inherit;
-    padding:inherit;
+    padding: 1rem 2rem;
   }
   &[aria-selected="true"] {
     background: $button-background-color-hover;
-- 
GitLab