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:
Carl Schwan 2021-10-18 12:57:40 +02:00 committed by backportbot[bot]
parent 59376677b4
commit 1787d8257a

View file

@ -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;