@@ -98,8 +98,8 @@ export const ExportGame: React.FC<Props> = (props) => {
9898 }
9999
100100 return (
101- < div className = "flex w-full flex-col gap-2" >
102- < div className = "flex w-full flex-col gap-0.5" >
101+ < div className = "flex w-full min-w-0 flex-col gap-2 overflow-hidden " >
102+ < div className = "flex w-full min-w-0 flex-col gap-0.5" >
103103 < div className = "flex w-full items-center justify-between" >
104104 < p className = "select-none text-xs font-semibold tracking-wider text-secondary" >
105105 FEN
@@ -117,14 +117,14 @@ export const ExportGame: React.FC<Props> = (props) => {
117117 role = "button"
118118 tabIndex = { 0 }
119119 onClick = { ( ) => copy ( fen ) }
120- className = "border-1 group flex w-full cursor-pointer overflow-x-hidden rounded border border-white/5 p-1"
120+ className = "border-1 group flex w-full min-w-0 cursor-pointer overflow-x-hidden rounded border border-white/5 p-1"
121121 >
122- < p className = "whitespace-nowrap text-xxs text-secondary group-hover:text-secondary/80" >
122+ < p className = "min-w-0 overflow-hidden whitespace-nowrap text-xxs text-secondary group-hover:text-secondary/80" >
123123 { fen }
124124 </ p >
125125 </ div >
126126 </ div >
127- < div className = "flex w-full flex-col gap-0.5" >
127+ < div className = "flex w-full min-w-0 flex-col gap-0.5" >
128128 < div className = "flex w-full items-center justify-between" >
129129 < div className = "flex w-full items-center" >
130130 < p className = "select-none text-xs font-semibold tracking-wider text-secondary" >
@@ -144,7 +144,7 @@ export const ExportGame: React.FC<Props> = (props) => {
144144 role = "button"
145145 tabIndex = { 0 }
146146 onClick = { ( ) => copy ( pgn ) }
147- className = "group flex w-full cursor-pointer overflow-x-hidden overflow-y-scroll rounded border border-white/5 p-1"
147+ className = "group flex h-40 max-h-40 min-h-40 w-full min-w-0 cursor-pointer overflow-x-hidden overflow-y-scroll rounded border border-white/5 p-1"
148148 >
149149 < p className = "whitespace-pre-wrap text-xxs text-secondary group-hover:text-secondary/80" >
150150 { pgn }
0 commit comments