mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Fix cliping issues in alternative logging buttons
The issues was caused because the button with its margins was bigger than the parent. Instead of setting the margin of the button, add padding to the parent. This is more reliable. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
59376677b4
commit
1787d8257a
1 changed files with 2 additions and 1 deletions
|
|
@ -151,6 +151,7 @@ form #datadirField legend {
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 10px 5px;
|
||||
position: relative; /* Make the wrapper the containing block of its
|
||||
absolutely positioned descendant icons */
|
||||
}
|
||||
|
|
@ -164,7 +165,7 @@ form #datadirField legend {
|
|||
}
|
||||
|
||||
.alternative-logins a.button {
|
||||
margin: 10px 5px;
|
||||
margin: 0;
|
||||
display: block;
|
||||
font-size: 15px;
|
||||
white-space: nowrap;
|
||||
|
|
|
|||
Loading…
Reference in a new issue