Skip to content

Commit

Permalink
chore: migrate sass division (#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
TCL735 authored Dec 3, 2021
1 parent 4d08bdf commit 6612290
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion giraffe/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@influxdata/giraffe",
"version": "2.21.0",
"version": "2.21.1",
"main": "dist/index.js",
"module": "dist/index.js",
"license": "MIT",
Expand Down
10 changes: 5 additions & 5 deletions giraffe/src/components/DapperScrollbars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@ $g13-mist: #bec2cc;
.cf-dapper-scrollbars--track-x {
height: $dapper-scrollbars--size !important;
width: calc(100% - #{$dapper-scrollbars--size}) !important;
bottom: $dapper-scrollbars--size / 2 !important;
left: $dapper-scrollbars--size / 2 !important;
bottom: $dapper-scrollbars--size * 0.5 !important;
left: $dapper-scrollbars--size * 0.5 !important;
}

.cf-dapper-scrollbars--track-y {
width: $dapper-scrollbars--size !important;
height: calc(100% - #{$dapper-scrollbars--size}) !important;
right: $dapper-scrollbars--size / 2 !important;
top: $dapper-scrollbars--size / 2 !important;
right: $dapper-scrollbars--size * 0.5 !important;
top: $dapper-scrollbars--size * 0.5 !important;
}

.cf-dapper-scrollbars--thumb-x,
.cf-dapper-scrollbars--thumb-y {
border-radius: $dapper-scrollbars--size / 2 !important;
border-radius: $dapper-scrollbars--size * 0.5 !important;
}

.cf-dapper-scrollbars--thumb-x {
Expand Down
2 changes: 1 addition & 1 deletion giraffe/src/components/Input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
}

.cf-input-icon {
left: ($height / 2) + 2px;
left: ($height * 0.5) + 2px;
}

.cf-input-pseudo {
Expand Down
2 changes: 1 addition & 1 deletion giraffe/src/components/TableGraphs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ $table-light-graph--text-highlight: #383846;
-o-user-select: text !important;
-webkit-user-select: text !important;
background-color: $table-graph--cell;
border: (2px / 2) solid $table-graph--border;
border: (2px * 0.5) solid $table-graph--border;
box-sizing: border-box;
color: $table-graph--text-color;
font-size: $table-graph--font;
Expand Down
2 changes: 1 addition & 1 deletion stories/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@influxdata/giraffe-stories",
"version": "2.21.0",
"version": "2.21.1",
"license": "MIT",
"repository": {
"type": "git",
Expand Down

0 comments on commit 6612290

Please sign in to comment.