Skip to content

Commit

Permalink
fix(web): fix style in npm deps list area (labring#1546)
Browse files Browse the repository at this point in the history
fix bug woth delete button covered by scrollbar in npm dependency list area on issues/1546
  • Loading branch information
yuedanlabs committed Sep 20, 2023
1 parent 0b903e8 commit 11d3c46
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web/src/pages/app/functions/mods/DependencePanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export default function DependenceList() {
<TabPanel px={0} py={1}>
{customPackage.length > 0 ? (
<SectionList
className="pr-2"
style={{ height: SECTION_HEIGHT, overflowY: "auto", overflowX: "hidden" }}
>
{customPackage.map((packageItem: TPackage) => {
Expand Down Expand Up @@ -122,7 +123,10 @@ export default function DependenceList() {
</TabPanel>
<TabPanel px={0} py={1}>
{/* build in packages */}
<SectionList style={{ height: SECTION_HEIGHT, overflowY: "auto", overflowX: "hidden" }}>
<SectionList
className="pr-2"
style={{ height: SECTION_HEIGHT, overflowY: "auto", overflowX: "hidden" }}
>
{builtinPackage.map((packageItem: TPackage) => {
return (
<SectionList.Item
Expand Down

0 comments on commit 11d3c46

Please sign in to comment.