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
parent a67a12cb96
commit 478ed7ae75
No known key found for this signature in database
GPG key ID: 06B35D38387B67BE

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;