Skip to content

Commit 1e46cbf

Browse files
change sm to 600px from 500px for volume slider's sake
1 parent fd613fd commit 1e46cbf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/renderer/components/LibraryList.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ export default function LibraryList({ onImportLibrary }: LibraryListProps) {
333333
setTimeout(() => {
334334
const artContainerHeight =
335335
document.querySelector('.art')?.clientHeight || 0;
336-
if (currentWidth > 500) {
336+
if (currentWidth > 600) {
337337
const newHeight = currentHeight - artContainerHeight - 106;
338338
setRowContainerHeight(newHeight);
339339
} else {

src/renderer/components/VolumeSliderStack.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default function VolumeSliderStack({
2020
};
2121

2222
return (
23-
<Box sx={{ width: '75%', maxWidth: 220, minWidth: 80 }}>
23+
<Box sx={{ width: '75%', maxWidth: 210, minWidth: 80 }}>
2424
<Stack
2525
alignItems="center"
2626
direction="row"

tailwind.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ module.exports = {
5050
* the StaticPlayer component looks good snapping into a vertical layout.
5151
*/
5252
screens: {
53-
sm: '500px',
54-
// => @media (min-width: 500px) { ... }
53+
sm: '600px',
54+
// => @media (min-width: 600px) { ... }
5555
},
5656
keyframes: {
5757
'sui--accordion-down': {

0 commit comments

Comments
 (0)