Skip to content

Commit

Permalink
Remove calc usage from SchemaItem styles
Browse files Browse the repository at this point in the history
Signed-off-by: Miki <[email protected]>
  • Loading branch information
AMoo-Miki committed Aug 24, 2023
1 parent 309e146 commit 14251dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/schema/_schema_item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@

.ouiSchemaItem__icon {
align-self: flex-start;
margin: calc($ouiSize / 2) 0; // To align with buttonIcon
margin: ($ouiSize / 2) 0; // To align with buttonIcon
}

.ouiSchemaItem__label {
flex: 1;
margin: calc($ouiSize / 2) 0; // To align with buttonIcon
margin: ($ouiSize / 2) 0; // To align with buttonIcon
}

.ouiSchemaItem__actions {
Expand Down Expand Up @@ -68,12 +68,12 @@
font-size: $ouiFontSizeXS;

.ouiSchemaItem__icon {
margin: calc($ouiSizeM / 2) 0;
margin: ($ouiSizeM / 2) 0;
margin-left: $ouiSizeXS;
}

.ouiSchemaItem__label {
flex: 1;
margin: calc($ouiSizeM / 2) 0;
margin: ($ouiSizeM / 2) 0;
}
}

0 comments on commit 14251dc

Please sign in to comment.