Skip to content

Commit 82b5d59

Browse files
authored
Merge pull request #11 from mrtrimble/rt/skelly/heading-specificity-issue
Fix heading specificity issue with `:is()`
2 parents 07acab3 + d3794fd commit 82b5d59

3 files changed

Lines changed: 3 additions & 8 deletions

File tree

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ritterim/skellycss",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "A light-weight CSS framework to quickly implement skeletons into your projects.",
55
"main": "dist/skelly.js",
66
"files": [

src/style.scss

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,7 @@ p {
140140
}
141141
}
142142

143-
h1,
144-
h2,
145-
h3,
146-
h4,
147-
h5,
148-
h6 {
143+
.skeleton:is(h1, h2, h3, h4, h5, h6) {
149144
margin: 0;
150145
padding: 0;
151146
.skeleton__line {

0 commit comments

Comments
 (0)