This commit is contained in:
Yuri Kuznetsov
2022-10-31 08:50:55 +02:00
parent 5826f0fb2a
commit bdf3e9a4b6
2 changed files with 24 additions and 13 deletions
@@ -1,10 +1,12 @@
{{#if isNew}}
<div class="scope-switcher radio-container">
{{#each scopeList}}
<label>
<input type="radio" name="scope"{{#ifEqual this ../scope}} checked{{/ifEqual}} value="{{./this}}">
{{translate this category='scopeNames'}}
</label>
<div>
<label>
<input type="radio" name="scope"{{#ifEqual this ../scope}} checked{{/ifEqual}} value="{{./this}}">
{{translate this category='scopeNames'}}
</label>
</div>
{{/each}}
</div>
{{/if}}
+18 -9
View File
@@ -902,18 +902,27 @@ input.global-search-input {
}
.radio-container {
> label {
margin-right: 8px;
margin-bottom: 0;
font-weight: normal;
font-size: 15px;
height: 20px;
> div {
> label {
margin-right: 10px;
margin-bottom: 0;
font-weight: normal;
font-size: 15px;
height: 20px;
cursor: pointer;
input[type="radio"] {
vertical-align: middle;
margin-top: -3px;
input[type="radio"] {
vertical-align: middle;
margin-top: -3px;
margin-right: 2px;
cursor: pointer;
}
}
display: inline-block;
min-width: var(--btn-xs-wide-width);
}
margin-bottom: 10px;
user-select: none;
}