Skip to content

Commit 5535575

Browse files
committed
Fixes: buttons overflowing code100x#793
1 parent f66a0bf commit 5535575

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/components/VideoContentChapters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const VideoContentChapters = ({
3434
}, [player]);
3535

3636
return (
37-
<div className="w-full rounded-md border text-sm shadow-md lg:w-1/3">
37+
<div className="w-full rounded-md border text-sm shadow-md semi:w-1/3">
3838
<div className="flex items-center justify-between bg-[#F5F5F5] p-2 py-3 dark:bg-[#212020]">
3939
<span>Chapters</span>
4040
<X onClick={onCancel} className="cursor-pointer" />

src/components/admin/ContentRendererClient.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export const ContentRendererClient = ({
8888
};
8989

9090
return (
91-
<div className="flex flex-col items-start gap-2 lg:flex-row">
91+
<div className="flex flex-col items-start gap-2 semi:flex-row">
9292
<div className="w-full flex-1">
9393
<VideoPlayerSegment
9494
setQuality={setQuality}

tailwind.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ module.exports = {
1515
padding: '2rem',
1616
},
1717
extend: {
18+
screens: {
19+
semi: '1140px'
20+
},
1821
colors: {
1922
border: 'hsl(var(--border))',
2023
input: 'hsl(var(--input))',

0 commit comments

Comments
 (0)