Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
fix: no need for h2 in notecards
Browse files Browse the repository at this point in the history
There is no need for the `h2` element in notecards. Also, because of the way the TOC
is extracted, you cannot really use an `h2` inside notecards anyhow.

fix #470
  • Loading branch information
Schalk Neethling committed Feb 22, 2021
1 parent b5a1759 commit 3590677
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions sass/atoms/_notecards.scss
Expand Up @@ -17,7 +17,6 @@
}
}

h2,
h3,
h4 {
/*
Expand All @@ -40,7 +39,6 @@
}
}

h2,
h3,
h4,
&.inline {
Expand Down Expand Up @@ -85,7 +83,6 @@
border-color: $green-200;
color: $neutral-100;

h2,
h3,
h4 {
&::before {
Expand All @@ -98,7 +95,6 @@
&.note {
background-color: $primary-500;

h2,
h3,
h4 {
&::before {
Expand All @@ -116,7 +112,6 @@
border-color: $yellow-300;
color: $neutral-100;

h2,
h3,
h4 {
&::before {
Expand All @@ -128,7 +123,6 @@
}

&.experimental {
h2,
h3,
h4 {
&::before {
Expand All @@ -138,7 +132,6 @@
}

&.draft {
h2,
h3,
h4 {
&::before {
Expand All @@ -148,7 +141,6 @@
}

&.secure {
h2,
h3,
h4,
&.inline {
Expand All @@ -165,7 +157,6 @@
border-color: $red-300;
color: $neutral-100;

h2,
h3,
h4,
&.inline {
Expand All @@ -177,7 +168,6 @@
}

&.deprecated {
h2,
h3,
h4,
&.inline {
Expand Down

0 comments on commit 3590677

Please sign in to comment.