Skip to content

Commit

Permalink
style: 💄 Fixed styling in some places
Browse files Browse the repository at this point in the history
  • Loading branch information
SupertigerDev committed Feb 5, 2023
1 parent 2c4d253 commit a411b72
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/components/ui/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const ButtonContainer = styled("button")<{margin?: number}>`
user-select: none;
transition: 0.2s;
background-color: rgba(255, 255, 255, 0.08);
border: solid 1px rgba(255, 255, 255, 0.03);
&:hover {
background-color: rgba(255, 255, 255, 0.15);
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/settings-block/SettingsBlock.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styles from './styles.module.scss';
import { JSX, Show } from 'solid-js';
import Icon from '@/components/ui/icon/Icon';
import styles from './styles.module.scss';
import { classNames, conditionalClass } from '@/common/classNames';

interface BlockProps {
Expand Down
15 changes: 12 additions & 3 deletions src/components/ui/settings-block/styles.module.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.block {
background: rgba(255, 255, 255, 0.06);
background: rgba(255, 255, 255, 0.05);
box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.4);
display: flex;
padding: 10px;
padding-left: 15px;
height: 40px;
border-radius: 8px;
align-items: center;
Expand All @@ -12,13 +14,20 @@
margin-bottom: 1px;
}
}

.details {
display: flex;
flex-direction: column;
flex: 1;
margin-left: 10px;
margin-left: 15px;
gap: 3px;
}
.description {

.label {
font-size: 14px;
}

.description {
font-size: 12px;
color: rgba(255, 255, 255, 0.6);
}

0 comments on commit a411b72

Please sign in to comment.