Skip to content

Commit

Permalink
Issue #42 - set styles for different sizes of dashicons
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Mar 19, 2021
1 parent 1f44161 commit 100827d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions blocks/oik-blockicon/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,17 @@
max-width: 64px;
}

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

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


}

Expand Down Expand Up @@ -60,6 +71,17 @@
max-width: $sizepx;
}

.dashicon, .dashicons-before:before {
width:$sizepx;
height: $sizepx;
font-size: $sizepx;
}

.block-editor-block-icon {
width: $sizepx;
height: $sizepx;
}


}

Expand Down

0 comments on commit 100827d

Please sign in to comment.