From a2be298a265adbb5a7221f8b58b54473e3c10929 Mon Sep 17 00:00:00 2001
From: Martin Leblanc <m26lebla@uwaterloo.ca>
Date: Tue, 12 Jul 2022 11:39:13 -0400
Subject: [PATCH] ISTWCMS-5631: removing the font size for lists as they get
 same from body, corrects challenge specificity when using list items in menus

---
 src/patterns/01-core/elements/_list-item.scss      | 2 --
 src/patterns/01-core/elements/_ordered-list.scss   | 1 -
 src/patterns/01-core/elements/_unordered-list.scss | 3 ---
 3 files changed, 6 deletions(-)

diff --git a/src/patterns/01-core/elements/_list-item.scss b/src/patterns/01-core/elements/_list-item.scss
index dc7df5f6..bb7ee4bc 100644
--- a/src/patterns/01-core/elements/_list-item.scss
+++ b/src/patterns/01-core/elements/_list-item.scss
@@ -2,10 +2,8 @@
 // List item styles.
 
 :where(li) {
-  font-size: var(--font-size-0);
   margin-bottom: var(--size-1);
   padding-inline-start: var(--size-1);
-
   &:last-child {
     margin-bottom: 0;
   }
diff --git a/src/patterns/01-core/elements/_ordered-list.scss b/src/patterns/01-core/elements/_ordered-list.scss
index 3187b8fd..7c2f4c6c 100644
--- a/src/patterns/01-core/elements/_ordered-list.scss
+++ b/src/patterns/01-core/elements/_ordered-list.scss
@@ -2,7 +2,6 @@
 // Ordered list styles.
 
 :where(ol) {
-  font-size: var(--font-size-0);
   padding-inline-start: var(--size-4);
   margin: 0 0 var(--size-2);
   ol{
diff --git a/src/patterns/01-core/elements/_unordered-list.scss b/src/patterns/01-core/elements/_unordered-list.scss
index 675ab4fb..8ecd8bb8 100644
--- a/src/patterns/01-core/elements/_unordered-list.scss
+++ b/src/patterns/01-core/elements/_unordered-list.scss
@@ -2,8 +2,6 @@
 // Unordered list styles.
 
 :where(ul) {
-
-  font-size: var(--font-size-0);
   list-style-type: disc;
   margin: 0 0 var(--size-2);
   padding: 0 0 0 var(--size-4); // LTR
@@ -15,7 +13,6 @@
 
     }
   }
-  //padding-inline-start: var(--size-4);
 }
 .disc {
   list-style: disc;
-- 
GitLab