Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Added some comments in CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
tarhi-saad committed Nov 9, 2023
1 parent e612ff6 commit 00de295
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 0 calc(#{$gap-smaller} * 2);
gap: 0 calc(#{$gap-smaller} * 2); // Required for spacing especially when using flex-grow

.wc-block-components-text-input,
.wc-block-components-state-input {
flex: 1 0 calc(50% - #{$gap-smaller});
flex: 1 0 calc(50% - #{$gap-smaller}); // "flex-grow = 1" allows the input to grow to fill the space
box-sizing: border-box;

&:nth-of-type(2),
Expand Down

0 comments on commit 00de295

Please sign in to comment.