diff options
author | Carl Schwan <carl@carlschwan.eu> | 2021-10-18 12:57:40 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2021-10-18 13:01:32 +0200 |
commit | 478ed7ae75a2b6bfdff37029532819c10e88329f (patch) | |
tree | 759839d5693e1ad778a918a4649075c7a61991ff /core/css/guest.css | |
parent | a67a12cb96250144c47ffb99ac1efa8a8c51a6b3 (diff) | |
download | nextcloud-server-478ed7ae75a2b6bfdff37029532819c10e88329f.tar.gz nextcloud-server-478ed7ae75a2b6bfdff37029532819c10e88329f.zip |
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>
Diffstat (limited to 'core/css/guest.css')
-rw-r--r-- | core/css/guest.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/css/guest.css b/core/css/guest.css index e4da775411c..df38675c66c 100644 --- a/core/css/guest.css +++ b/core/css/guest.css @@ -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; |