Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:vektor-inc/vk-block-patterns int…
Browse files Browse the repository at this point in the history
…o develop
  • Loading branch information
kurudrive committed Mar 18, 2022
2 parents 946c9f6 + 2c7900f commit 239f589
Show file tree
Hide file tree
Showing 9 changed files with 1,768 additions and 1,215 deletions.
3 changes: 3 additions & 0 deletions patterns-data/_scss/_vk-cols.scss
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@
メディアカラム
/* ----------------------------------- */
.vk-cols--media{

.wp-block-column:not(:first-child) {
.wp-block-image,
figure {
Expand All @@ -243,6 +244,7 @@
}
@media (min-width: 782px) {
.wp-block-column:not(:first-child) {
--wp--style--block-gap : 3rem;
margin-left: 3rem;
}
&.vk-cols--reverse .wp-block-column:not(:first-child) {
Expand All @@ -251,6 +253,7 @@
}
}
@media (min-width: 600px) and (max-width: 781px) {
--wp--style--block-gap : 2rem;
&.vk-cols--reverse .wp-block-column:not(:first-child) {
margin-right: 2rem;
margin-left: 0;
Expand Down
Loading

0 comments on commit 239f589

Please sign in to comment.