fix: remove overflow-x-auto from VideoStudio controls row
overflow-x-auto implicitly sets overflow-y:auto, creating a clipping context that cut off the upward-opening position:absolute dropdown panels. Changed to flex-wrap so buttons wrap on narrow screens and dropdowns display correctly.
This commit is contained in:
parent
f4c8b3aae3
commit
fc49614a87
1 changed files with 1 additions and 1 deletions
|
|
@ -837,7 +837,7 @@ export default function VideoStudio({ apiKey, onGenerationComplete, historyItems
|
|||
|
||||
{/* Bottom row: controls + generate */}
|
||||
<div className="flex flex-col sm:flex-row items-stretch sm:items-center justify-between gap-4 px-2 pt-4 border-t border-white/5">
|
||||
<div className="flex items-center gap-1.5 md:gap-2.5 relative overflow-x-auto no-scrollbar pb-1 md:pb-0">
|
||||
<div className="flex items-center gap-1.5 md:gap-2.5 relative flex-wrap">
|
||||
|
||||
{/* Model btn */}
|
||||
<div ref={modelBtnRef} className="relative">
|
||||
|
|
|
|||
Loading…
Reference in a new issue