Skip to content

Commit

Permalink
increase space for buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Specy committed Jul 6, 2024
1 parent 11433a6 commit c3ac0ea
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/components/pages/Player/PlayerSongControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,10 @@ function _PlayerSongControls({
</div>

<IconButton

toggled={isMetronomePlaying}
onClick={onToggleMetronome}
className='metronome-button'
className={`${s['sidebar-metronome-button']} metronome-button`}
ariaLabel={t('settings:toggle_metronome')}
>
<GiMetronome size={22}/>
Expand Down
21 changes: 16 additions & 5 deletions src/components/pages/Player/Slider.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
overflow: hidden;
}

.slider-input{
.slider-input {
user-select: none;
font-family: 'Bonobo';
font-weight: bold;
Expand All @@ -48,12 +48,14 @@

.slider-input::-webkit-outer-spin-button,
.slider-input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
-webkit-appearance: none;
margin: 0;
}

.slider-input {
-moz-appearance: textfield;
-moz-appearance: textfield;
}

.slider-current {
height: 100%;
width: 100%;
Expand Down Expand Up @@ -85,10 +87,19 @@
align-self: center;
width: 100%;
align-items: center;
gap: 0.6rem;
gap: 0.4rem;
max-height: 25rem;
}

.slider-wrapper button {
margin: 0;
}


@media screen and (max-width: 920px) {
.sidebar-metronome-button {
position: absolute;
right: 0.8rem;
bottom: 0.8rem;
}
}

0 comments on commit c3ac0ea

Please sign in to comment.