-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Block Directory: Update layout for smaller inserter width. (#22124)
* Change block meta icon column to row layout. * Reduce margin bottom for rows. * Make padding consistent and extend block tile to full inserter width. * Remove border radius from list item.
- Loading branch information
1 parent
d687ebc
commit 2cc3cfa
Showing
7 changed files
with
48 additions
and
43 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
packages/block-directory/src/components/downloadable-block-author-info/style.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
.block-directory-downloadable-block-author-info__content { | ||
color: $dark-gray-400; | ||
margin-bottom: 4px; | ||
font-size: 12px; | ||
} | ||
|
||
.block-directory-downloadable-block-author-info__content-author { | ||
margin-bottom: 4px; | ||
font-size: 14px; | ||
font-size: $default-font-size; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 11 additions & 11 deletions
22
packages/block-directory/src/components/downloadable-block-info/style.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
.block-directory-downloadable-block-info__content { | ||
margin: 0 0 $grid-unit-20; | ||
font-size: $default-font-size; | ||
} | ||
|
||
.block-directory-downloadable-block-info__row { | ||
.block-directory-downloadable-block-info__meta { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
margin-bottom: 2px; | ||
color: $dark-gray-400; | ||
margin-top: $grid-unit-10; | ||
font-size: 12px; | ||
} | ||
|
||
.block-directory-downloadable-block-info__column { | ||
display: flex; | ||
align-items: center; | ||
.block-directory-downloadable-block-info__meta:last-child { | ||
margin-bottom: 0; | ||
} | ||
|
||
.dashicon { | ||
font-size: 16px; | ||
margin-right: 4px; | ||
} | ||
} | ||
.block-directory-downloadable-block-info__icon { | ||
margin-right: 4px; | ||
fill: $dark-gray-400; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/block-directory/src/components/downloadable-blocks-list/style.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
packages/block-directory/src/components/downloadable-blocks-panel/style.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters