Skip to content

Commit b481d42

Browse files
chore(login form): Fix layout for Login assistance message (#233497)
## Summary Closes #227824 Fixes margin for EUI Horizontal rule component when Login Assistance Message is present ### Test Run kibana with the following setting in kibana.(dev.)yaml ``` xpack.security.loginAssistanceMessage: Test Login assistance message ``` On main vs this PR branch, you should see the difference as shown below. | Main | After fix | |--------|--------| | <img width="500" alt="image" src="https://github.com/user-attachments/assets/ab00606f-aaf2-446f-9118-4f8ce30bf6bb" /> | <img width="500" alt="Screenshot 2025-08-29 at 15 39 42" src="https://github.com/user-attachments/assets/0bdc8948-00a5-4b5f-b4fb-52f0ae04709c" /> | (cherry picked from commit d2f64bc)
1 parent 4aad0e9 commit b481d42

File tree

1 file changed

+1
-1
lines changed
  • x-pack/platform/plugins/shared/security/public/authentication/login/components/login_form

1 file changed

+1
-1
lines changed

x-pack/platform/plugins/shared/security/public/authentication/login/components/login_form/login_form.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
.secLoginAssistanceMessage {
5353
// This tightens up the layout if message is present
54-
margin-top: -($euiSizeXXL + $euiSizeS);
54+
margin-top: -($euiSizeXL);
5555
padding: 0 $euiSize;
5656

5757
img {

0 commit comments

Comments
 (0)