Skip to content
This repository was archived by the owner on May 15, 2022. It is now read-only.

Commit 930ddb4

Browse files
committed
reduce label padding, bump 0.0.11
1 parent 8d50697 commit 930ddb4

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

build/react-dat-gui.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example-es6/build/app.js

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

example-es6/build/app.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Dat.css

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-dat-gui",
3-
"version": "0.0.10",
3+
"version": "0.0.11",
44
"description": "dat.GUI reimagined for React",
55
"main": "lib/Dat.js",
66
"style": "lib/Dat.css",

src/Dat.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ $border-left-size: 5px;
115115
.checkbox,
116116
input[type=checkbox] {
117117
position: absolute;
118-
top: 2px;
118+
top: 1px;
119119
right: 2px;
120-
bottom: 2px;
120+
bottom: 1px;
121121
width: 2em;
122122
}
123123

@@ -131,8 +131,8 @@ $border-left-size: 5px;
131131

132132
> .checkmark {
133133
display: none;
134-
width: 0.7em;
135-
height: 0.7em;
134+
width: 0.6em;
135+
height: 0.6em;
136136
stroke-width: 7px;
137137
stroke: lighten($boolean-color, 20%);
138138
}
@@ -166,7 +166,7 @@ $border-left-size: 5px;
166166
.label-text {
167167
display: block;
168168
width: 100%;
169-
padding: 7px 2px 7px 8px;
169+
padding: 6px 2px 6px 8px;
170170
cursor: pointer;
171171
}
172172
}
@@ -176,7 +176,7 @@ $border-left-size: 5px;
176176
align-items: baseline;
177177
justify-content: flex-start;
178178
width: 100%;
179-
padding: 2px 2px 2px 8px;
179+
padding: 1px 2px 1px 8px;
180180
}
181181

182182
.label-text {

0 commit comments

Comments
 (0)