Skip to content

Commit efed6da

Browse files
author
FalkWolsky
committed
Fixing iconselector z-index and homescreen icon position
1 parent c5ffe4b commit efed6da

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

client/packages/lowcoder-design/src/components/iconSelect/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ export const IconSelectBase = (props: {
355355
const { setVisible, parent } = props;
356356
return (
357357
<Popover
358+
zIndex={4000}
358359
trigger={props.trigger}
359360
placement="left"
360361
align={{ offset: [props.leftOffset ?? 0, 0, 0, 0] }}

client/packages/lowcoder/src/pages/ApplicationV2/HomeLayout.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ const LayoutSwitcher = styled.div`
205205
right: 36px;
206206
top: 6px;
207207
cursor: pointer;
208-
width: 24px;
209-
height: 24px;
208+
width: 32px;
209+
height: 16px;
210210
border-radius: 4px;
211211
z-index: ${Layers.homeLayoutSwitcher};
212212
display: flex;
@@ -462,7 +462,6 @@ export function HomeLayout(props: HomeLayoutProps) {
462462
</HeaderWrapper>
463463

464464
{showNewUserGuide(user) && <HomepageTourV2 />}
465-
{/*<HomepageTourV2 />*/}
466465

467466
<HomeView>
468467
<StyleHomeCover>
@@ -532,7 +531,7 @@ export function HomeLayout(props: HomeLayoutProps) {
532531
) : (
533532
<>
534533
<LayoutSwitcher onClick={() => setLayout(layout === "list" ? "card" : "list")}>
535-
{layout === "list" ? <HomeCardIcon /> : <HomeListIcon />}
534+
{layout === "list" ? <HomeCardIcon style={{marginRight: "-11px"}}/> : <HomeListIcon style={{marginTop: "-30px"}}/>}
536535
</LayoutSwitcher>
537536

538537
{mode === "marketplace" && (

0 commit comments

Comments
 (0)