Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2021-10-18 13:57:40 +0300
committerCarl Schwan <carl@carlschwan.eu>2021-10-18 14:01:32 +0300
commit478ed7ae75a2b6bfdff37029532819c10e88329f (patch)
tree759839d5693e1ad778a918a4649075c7a61991ff /core/css/guest.css
parenta67a12cb96250144c47ffb99ac1efa8a8c51a6b3 (diff)
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.css3
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;