Skip to content

Commit

Permalink
Issue #42 - Style the blockinfo block for dashicons with additional C…
Browse files Browse the repository at this point in the history
…SS classname svg64
  • Loading branch information
bobbingwide committed Mar 19, 2021
1 parent 100827d commit 6c876fa
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blocks/oik-blockinfo/editor.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.wp-block-oik-block-blockicon {
.wp-block-oik-block-blockinfo {
.is-style-svg64 {
svg {
width: 64px;
Expand Down
17 changes: 16 additions & 1 deletion blocks/oik-blockinfo/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,26 @@
height: 24px;
}

.wp-block-oik-block-blockicon.svg64 svg {
.wp-block-oik-block-blockinfo.svg64 {

svg {
width: 64px;
height: 64px;
}

.dashicon, .dashicons-before:before {
width:64px;
height: 64px;
font-size: 64px;
}

.block-editor-block-icon {
width: 64px;
height: 64px;
}
}


.svg64 .editor-block-icon,
.svg64 .editor-block-icon svg {
width: 64px;
Expand Down

0 comments on commit 6c876fa

Please sign in to comment.