Skip to content

Commit

Permalink
[docs] Apply small tweaks to the new UI components (#1)
Browse files Browse the repository at this point in the history
Co-authored-by: Bartosz Kaszubowski <[email protected]>
  • Loading branch information
byCedric and Simek committed Oct 13, 2021
1 parent 2e04efd commit f17100f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ui/components/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export function Button(props: ButtonProps) {
{icon}
</div>
)}
<div>{children}</div>
{children}
</div>
</ButtonComponent>
);
Expand Down Expand Up @@ -235,7 +235,7 @@ const buttonInteractionStyle = css({
// transform prevents a 1px shift on hover on Safari
transform: 'translate3d(0,0,0)',
':hover': {
boxShadow: '0 2px 8px rgba(0, 1, 0, 0.2)',
boxShadow: `0 1px 6px ${theme.background.quaternary}`,
opacity: 0.85,
},
':active': {
Expand Down
2 changes: 2 additions & 0 deletions docs/ui/components/Form/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const iconStyle = css({
const selectInputStyle = css({
boxShadow: shadows.input,
backgroundColor: theme.background.default,
color: theme.text.default,
display: 'block',
outline: 'none',
appearance: 'none',
Expand All @@ -85,6 +86,7 @@ const selectInputStyle = css({
padding: 16,
paddingRight: 48,
fontSize: 16,
userSelect: 'none',
':hover': {
transition: 'background-color 100ms',
cursor: 'pointer',
Expand Down
1 change: 1 addition & 0 deletions docs/ui/components/Note/InfoNote.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const containerStyle = css`

const iconStyle = css`
margin-right: 0.5rem;
user-select: none;
`;

const contentStyle = css`
Expand Down

0 comments on commit f17100f

Please sign in to comment.