Skip to content

Commit

Permalink
fix(style): move from rem to px (#1316)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelbt committed Jun 15, 2022
1 parent 3b16eaf commit 648bf19
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions components/button/src/vwc-button.scss
Expand Up @@ -132,12 +132,12 @@

> .leading-icon vwc-icon,
.leading-icon ::slotted(*) {
margin-block-end: 0.5rem;
margin-block-end: 8px;
}

> .trailing-icon vwc-icon,
.trailing-icon ::slotted(*) {
margin-block-start: 0.5rem;
margin-block-start: 8px;
}

.trailing-icon ::slotted(*),
Expand Down
2 changes: 1 addition & 1 deletion components/expansion-panel/src/vwc-expansion-panel.scss
Expand Up @@ -62,7 +62,7 @@
max-width: 20%;
flex-shrink: 0;
color: var(--vvd-color-neutral-70);
margin-inline-start: 1rem;
margin-inline-start: 16px;
text-align: end;
text-overflow: ellipsis;
white-space: nowrap;
Expand Down
4 changes: 2 additions & 2 deletions components/popup/src/vwc-popup.scss
Expand Up @@ -42,7 +42,7 @@

&-dismissible-button {
align-self: flex-start;
margin-block-start: 0.25rem;
margin-inline-end: 0.25rem;
margin-block-start: 4px;
margin-inline-end: 4px;
}
}
2 changes: 1 addition & 1 deletion components/tooltip/src/vwc-tooltip.scss
Expand Up @@ -7,7 +7,7 @@

&-title {
@include typography.typography-cat-shorthand('body-2-bold');
padding: 0.5rem 0.75rem;
padding: 8px 12px;
color: var(#{scheme-variables.$vvd-color-primary});
}
}

0 comments on commit 648bf19

Please sign in to comment.