浏览代码

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;

正在加载...
取消
保存