Skip to content

Commit

Permalink
fix negative css variables
Browse files Browse the repository at this point in the history
  • Loading branch information
erquhart committed May 25, 2018
1 parent 3195ce2 commit fe3a44b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
border-top-left-radius: 0;
border-top-right-radius: 0;
border-top: 0;
margin-top: -var(--stickyDistanceBottom);
margin-top: calc(-1 * var(--stickyDistanceBottom));
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

.nc-visualEditor-shortcode-topBar {
background-color: var(--textFieldBorderColor);
margin: -var(--widgetNestDistance) -var(--widgetNestDistance) 0;
margin: calc(-1 * var(--widgetNestDistance)) calc(-1 * var(--widgetNestDistance)) 0;
border-radius: 0;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
border-top-left-radius: 0;
border-top-right-radius: 0;
border-top: 0;
margin-top: -var(--stickyDistanceBottom);
margin-top: calc(-1 * var(--stickyDistanceBottom));
}

.nc-visualEditor-editor h1 {
Expand Down

0 comments on commit fe3a44b

Please sign in to comment.