chore: fix height issue (#40107)
Fixes #40092  <!-- 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 -->
This commit is contained in:
parent
e9cca6a56f
commit
65e6ab9dc7
|
|
@ -151,13 +151,13 @@ export const UserWelcomeScreenTextBanner = styled.div<{
|
||||||
isSuperUser?: boolean;
|
isSuperUser?: boolean;
|
||||||
}>`
|
}>`
|
||||||
width: 60%;
|
width: 60%;
|
||||||
height: 100%;
|
min-height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
${(props) =>
|
${(props) =>
|
||||||
props.isSuperUser
|
props.isSuperUser
|
||||||
? "padding: calc(2*var(--ads-spaces-17)) 0 0;"
|
? "padding: calc(2*var(--ads-spaces-17)) 0 0;"
|
||||||
: "justify-content: center;"}
|
: "justify-content: center; padding-block: var(--ads-spaces-12);"}
|
||||||
margin-left: 8rem;
|
margin-left: 8rem;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user