瀏覽代碼

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>
tags/v23.0.0beta1
Carl Schwan 2 年之前
父節點
當前提交
478ed7ae75
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      core/css/guest.css

+ 2
- 1
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;

Loading…
取消
儲存