fix: remove useless scroll bar (#1035)

* fix: remove useless scroll bar

* update
This commit is contained in:
Stephen Zhou 2024-06-13 23:53:30 +08:00 committed by GitHub
parent 9b94332b22
commit bd71551631
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ function RSSList({ type, list }: { type: string; list: RSSData[] }) {
return ( return (
<div className="space-y-4"> <div className="space-y-4">
<h2 className="text-base font-bold">{chrome.i18n.getMessage(type)}</h2> <h2 className="text-base font-bold">{chrome.i18n.getMessage(type)}</h2>
<ul className="overflow-x-auto"> <ul className="overflow-x-auto w-max min-w-full max-w-[700px]">
{list.map((item) => ( {list.map((item) => (
<RSSItem key={item.url + item.title} item={item} type={type} /> <RSSItem key={item.url + item.title} item={item} type={type} />
))} ))}