fix: url input field overflows when update profile & editing event (#14033)
* the url input field overflows * overflow text input changes * Update UsernameTextfield.tsx * Eslint error fix --------- Co-authored-by: Joe Au-Yeung <[email protected]>
This commit is contained in:
1 parent
e19e829ff7
commit
82c7e595ea
2 files changed
+26
-12
No files matched your search
@@ -48,7 +48,16 @@ const Addon = ({ isFilled, children, className, error, onClickAddon }: AddonProp
|
||||
"min-h-9 flex flex-col justify-center text-sm leading-7",
|
||||
error ? "text-error" : "text-default"
|
||||
)}>
|
||||
<span className="flex whitespace-nowrap">{children}</span>
|
||||
<span
|
||||
className="flex max-w-2xl overflow-y-auto whitespace-nowrap"
|
||||
style={{
|
||||
WebkitOverflowScrolling: "touch",
|
||||
scrollbarWidth: "none",
|
||||
overflow: "-ms-scroll-chaining",
|
||||
msOverflowStyle: "-ms-autohiding-scrollbar",
|
||||
}}>
|
||||
{children}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user