Skip to content

Commit

Permalink
ignoring blankslate large selector
Browse files Browse the repository at this point in the history
  • Loading branch information
mxriverlynn committed Nov 14, 2022
1 parent 164398b commit dccad27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions app/components/primer/beta/blankslate.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
}
}

/* could not find any use of this selector */
/* could not find any use of the capped selector */
.blankslate-capped {
border-radius: 0 0 var(--primer-borderRadius-medium, 6px) var(--primer-borderRadius-medium, 6px);
}
Expand All @@ -68,8 +68,7 @@
margin: 0 auto;
}

/* was .large-format
** QUESTION: should we deprecate this? */
/* could not find any use of these large selectors */
.blankslate-large {
& img {
width: 80px;
Expand All @@ -88,7 +87,7 @@
}
}

/* could not find use of this selector */
/* could not find use of the clean background selector */
.blankslate-clean-background {
border: 0;
}
2 changes: 1 addition & 1 deletion test/css/component_specific_selectors_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ComponentSpecificSelectorsTest < Minitest::Test
Primer::Alpha::ActionList => [/^to/],
Primer::Alpha::Banner => [".Banner .Banner-close"],
Primer::Alpha::SegmentedControl => [".Button-withTooltip"],
Primer::Beta::Blankslate => ["code", ".blankslate-capped", ".blankslate-clean-background"],
Primer::Beta::Blankslate => ["code", ".blankslate-capped", ".blankslate-clean-background", ".blankslate-large"],
Primer::Beta::Button => ["summary.Button"],
Primer::Beta::Counter => ["Counter .octicon"]
}.freeze
Expand Down

0 comments on commit dccad27

Please sign in to comment.