Skip to content

Commit

Permalink
Portal: use more safe "first-of-type" on toggle grid
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Feb 13, 2019
1 parent 0a7a38f commit abc6cbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { gridStyle } from '../parts/PortalStyle'

const globalStyle = css`
.dev-grid,
.dev-grid-first > div:first-child {
.dev-grid-first > div:first-of-type {
${gridStyle({ rgb: '220, 220, 220', a: 0.8 })};
/* stylelint-disable no-descending-specificity */
Expand Down

0 comments on commit abc6cbc

Please sign in to comment.