Skip to content

Commit 65e6ab9

Browse files
authored
chore: fix height issue (#40107)
Fixes #40092 ![CleanShot 2025-04-07 at 14 23 41](https://github.com/user-attachments/assets/5cc0ad43-d253-4165-a342-486004397269) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Improved the welcome banner’s layout by switching to a more flexible height setting. - Adjusted vertical alignment with additional top padding for users with elevated privileges, enhancing overall spacing and visual consistency. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent e9cca6a commit 65e6ab9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: app/client/src/pages/setup/common.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,13 @@ export const UserWelcomeScreenTextBanner = styled.div<{
151151
isSuperUser?: boolean;
152152
}>`
153153
width: 60%;
154-
height: 100%;
154+
min-height: 100%;
155155
display: flex;
156156
flex-direction: column;
157157
${(props) =>
158158
props.isSuperUser
159159
? "padding: calc(2*var(--ads-spaces-17)) 0 0;"
160-
: "justify-content: center;"}
160+
: "justify-content: center; padding-block: var(--ads-spaces-12);"}
161161
margin-left: 8rem;
162162
`;
163163

0 commit comments

Comments
 (0)