Skip to content

Instantly share code, notes, and snippets.

@kjtolsma
Created August 17, 2020 11:29
Show Gist options
  • Save kjtolsma/f91e9a4075837ef35601cef56b478cc5 to your computer and use it in GitHub Desktop.
Save kjtolsma/f91e9a4075837ef35601cef56b478cc5 to your computer and use it in GitHub Desktop.
// Gutenberg Review
.is-style-review {
background: #fff3cd;
border-radius: 5px;
margin-top: 40px;
margin-bottom: 40px;
padding: 40px;
.wp-block-image {
img {
max-width: 100px;
height: auto;
}
}
.wp-block-columns {
margin: 0;
.wp-block-column {
flex-basis: 0 !important;
flex-grow: 1 !important;
margin: 0 !important;
}
.wp-block-column {
&:first-child {
flex-basis: 0 !important;
flex-grow: 0 !important;
margin-right: 30px !important;
min-width: auto !important;
}
}
}
.wp-block-buttons {
.wp-block-button {
margin: 0;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment