Skip to content

Commit 1db3565

Browse files
committed
css adjustments
1 parent f77c7b5 commit 1db3565

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

src/components/fields/RectanglePositioner.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import ResizableRect from 'react-resizable-rotatable-draggable';
66
import RadioBlocks from '../widgets/RadioBlocks';
77
import DualNumeric from './DualNumeric';
88

9-
const maxWidth = 276;
9+
const maxWidth = 280;
1010
const gridRes = 8;
1111

1212
class UnconnectedRectanglePositioner extends Component {
@@ -58,8 +58,8 @@ class UnconnectedRectanglePositioner extends Component {
5858
const fieldWidthPx = Math.min(maxWidth, maxWidth / aspectRatio);
5959
const fieldHeightPx = Math.min(maxWidth, maxWidth * aspectRatio);
6060

61-
const width = fieldWidthPx * (x[1] - x[0]);
62-
const height = fieldHeightPx * (y[1] - y[0]);
61+
const width = fieldWidthPx * (x[1] - x[0]) - 6; // eslint-disable-line
62+
const height = fieldHeightPx * (y[1] - y[0]) - 6; // eslint-disable-line
6363
const left = fieldWidthPx * x[0];
6464
const top = fieldHeightPx * (1 - y[1]);
6565

src/styles/components/containers/_fold.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@
1010
font-size: var(--font-size-base);
1111
border: 1px solid var(--fold-header-border-color-closed);
1212
background-color: var(--fold-header-background-closed);
13-
height: 15px;
13+
height: 30px;
1414
border-radius: var(--border-radius);
1515
text-shadow: var(--text-shadow-dark-ui);
16-
transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out,
17-
border 0.1s ease-in-out;
16+
transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out, border 0.1s ease-in-out;
1817

1918
&:hover {
2019
cursor: pointer;

src/styles/components/containers/_menupanel.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
display: block;
2020
}
2121
// gets overridden by user agent stylesheet otherwise
22-
width: 15px !important;
22+
width: 19px !important;
2323
height: 15px !important;
2424
fill: var(--color-text-light) !important;
2525
padding-left: var(--spacing-quarter-unit);

src/styles/components/widgets/_rangeslider.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
border: 1px solid var(--color-border-default);
1212
flex-grow: 1;
1313

14-
1514
&,
1615
.rangeslider__fill {
1716
display: block;
@@ -68,13 +67,12 @@
6867
background-color: var(--color-accent);
6968
border: var(--border-accent);
7069
border-radius: 10px;
71-
transform: translateY(-1px);
7270
top: 0;
7371
}
7472
.rangeslider__handle {
7573
$size: 20px;
7674
width: $size/3;
77-
height: $size*1.5;
75+
height: $size * 1.5;
7876
border-radius: $size;
7977
top: 50%;
8078
transform: translate3d(-50%, -50%, 0);

0 commit comments

Comments
 (0)