Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
Fixed tracks forms style
Browse files Browse the repository at this point in the history
  • Loading branch information
Akasiek committed Mar 17, 2022
1 parent 981d6cb commit 451aa9e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ const AlbumPageAsideTracks = ({ album }) => {
if (parseInt(minutes / 10) <= 0) minutes = "0" + String(minutes);
if (parseInt(seconds / 10) <= 0) seconds = "0" + String(seconds);

console.log(hours, minutes, seconds);

// Return as duration string
return `${hours}:${minutes}:${seconds}`;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,16 @@ export const StyledTracksForm = styled.div`
}
.positionInput {
text-align: center;
width: clamp(1.8rem, 2vw, 2rem);
width: clamp(1.75rem, 2vw, 2rem);
&::-webkit-outer-spin-button,
&::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
&[type="number"] {
-moz-appearance: textfield;
}
}
.titleInput {
Expand Down

0 comments on commit 451aa9e

Please sign in to comment.