Skip to content

Commit

Permalink
fix: Sliders width (#24)
Browse files Browse the repository at this point in the history
Co-authored-by: Wondermarin
  • Loading branch information
andymcwraith authored Nov 6, 2021
1 parent dbf8474 commit 6c8fa99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Alpha.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export const Alpha = ({ width, color, onChange }: AlphaProps): JSX.Element => {
onChange={updateColor}
style={{
background: `linear-gradient(to right, rgba(${rgb}, 0), rgba(${rgb}, 1)) top left / auto auto,
conic-gradient(#666 0.25turn, #999 0.25turn 0.5turn, #666 0.5turn 0.75turn, #999 0.75turn) top left / 12px 12px
repeat`,
conic-gradient(#666 0.25turn, #999 0.25turn 0.5turn, #666 0.5turn 0.75turn, #999 0.75turn) top left / 12px 12px
repeat`,
}}
>
<div
Expand Down
3 changes: 2 additions & 1 deletion src/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

background-color: var(--rcp-background);
border-radius: 10px;
box-sizing: border-box;
}

.rcp-body {
Expand All @@ -30,6 +29,8 @@
gap: 20px;
width: 100%;

box-sizing: border-box;

padding: 20px;
}

Expand Down

0 comments on commit 6c8fa99

Please sign in to comment.