Skip to content

Commit

Permalink
Fix BREAKPOINTS import
Browse files Browse the repository at this point in the history
As suggest by @JulianKniephoff. Fixes import
of appkit css styles.
  • Loading branch information
Arnei committed Dec 12, 2024
1 parent 873a01f commit 3ae8f0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/TrackSelection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
setVideoEnabled,
} from "../redux/videoSlice";
import {
BREAKPOINT_MEDIUM,
BREAKPOINTS,
backgroundBoxStyle,
checkboxStyle,
titleStyle,
Expand Down Expand Up @@ -243,7 +243,7 @@ const VideoTrackItem: React.FC<{
width: "100%",
opacity: track.video_stream.enabled ? "1" : "0.5",
maxWidth: `${imagesMaxWidthMedium}px`,
[`@media (min-width: ${BREAKPOINT_MEDIUM}px)`]: {
[`@media (min-width: ${BREAKPOINTS.medium}px)`]: {
"&": { maxWidth: `${imagesMaxWidth}px` },
},
});
Expand Down Expand Up @@ -304,7 +304,7 @@ const AudioTrackItem: React.FC<{
filter: `${theme.invert_wave}`,
color: `${theme.inverted_text}`,
maxWidth: `${imagesMaxWidthMedium}px`,
[`@media (min-width: ${BREAKPOINT_MEDIUM}px)`]: {
[`@media (min-width: ${BREAKPOINTS.medium}px)`]: {
"&": { maxWidth: `${imagesMaxWidth}px` },
},
});
Expand Down

0 comments on commit 3ae8f0e

Please sign in to comment.