fixed empty scroll track in citations dropdown (#4685)
* fixed empty scroll track * use overflow-x-none instead of overflow-x-auto for citation list * keep behaviour of x scroll, but hide scrollbar since it can be overflowing for no reason --------- Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
This commit is contained in:
parent
99942159f6
commit
00e18887a8
@ -69,7 +69,7 @@ export default function Citations({ sources = [] }) {
|
||||
/>
|
||||
</button>
|
||||
{open && (
|
||||
<div className="flex flex-wrap flex-col items-start overflow-x-scroll mt-1 ml-14 gap-y-2">
|
||||
<div className="flex flex-wrap flex-col items-start overflow-x-scroll no-scroll mt-1 ml-14 gap-y-2">
|
||||
{combineLikeSources(sources).map((source) => (
|
||||
<Citation
|
||||
key={v4()}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user