未验证 提交 d823b174 编写于 作者: I Isaac Yang 提交者: GitHub

Merge pull request #1912 from IsaacYangSLA/fix/S3_checkbox

Fix checkbox style in S3 tab
......@@ -137,6 +137,16 @@ input[readonly]:disabled {
background-color: #EEE !important;
cursor: not-allowed !important;
}
.checkbox-fix {
display: flex;
}
.checkbox-fix input[type=checkbox]{
margin: 4px 5px 5px 0;
padding: 0;
width: auto;
height: auto;
}
a.active {
font-weight: 900;
......
......@@ -340,10 +340,10 @@ hasTestFolderChanged();
{{ form.s3_secretkey.tooltip }}
{{ form.s3_secretkey(class='form-control', placeholder='S3 Secret Key', type='password')}}
</div>
<div class="form-group{{mark_errors([form.s3_keepcopiesondisk])}}">
<div class="form-group checkbox-fix {{mark_errors([form.s3_keepcopiesondisk])}}">
{{ form.s3_keepcopiesondisk(class='form-control', placeholder='S3 Secret Key', type='checkbox')}}
{{ form.s3_keepcopiesondisk.label }}
{{ form.s3_keepcopiesondisk.tooltip }}
{{ form.s3_keepcopiesondisk(class='form-control', placeholder='S3 Secret Key', type='checkbox')}}
</div>
<div class="row">
<div class="col-sm-10 col-sm-offset-1">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册