Skip to content

Commit

Permalink
Issue #27 - in block icon, info and list cater for SVGs not setting w…
Browse files Browse the repository at this point in the history
…idth and height parameters
  • Loading branch information
bobbingwide committed Jun 13, 2019
1 parent 1653d69 commit bd695a6
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blocks/build/css/blocks.style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions blocks/oik-blockicon/style.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* oik-blockicon/style.scss */
.wp-block-oik-block-blockicon svg {
width: 20px;
height: 20px;
}

.wp-block-oik-block-blockicon.svg64 svg {
width: 64px;
height: 64px;
Expand Down
6 changes: 6 additions & 0 deletions blocks/oik-blockinfo/style.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@

/* oik-blockicon/style.scss */

.wp-block-oik-block-blockinfo svg {
width: 20px;
height: 20px;
}

.wp-block-oik-block-blockicon.svg64 svg {
width: 64px;
height: 64px;
Expand Down
5 changes: 5 additions & 0 deletions blocks/oik-blocklist/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
pre.wp-block-oik-block-blocklist {
font-size: 10px;
}

.wp-block-oik-block-blocklist svg {
width: 20px;
height: 20px;
}

0 comments on commit bd695a6

Please sign in to comment.