Commit c55c642d authored by Angelina Filippova's avatar Angelina Filippova

Fix styles

parent 39f892bb
Pipeline #22907 passed with stages
in 5 minutes and 37 seconds
......@@ -45,7 +45,7 @@
:value="inputValue === null ? undefined : inputValue"
:placeholder="setting.suggestions ? setting.suggestions[0].toString() : null"
:min="0"
:size="isDesktop ? 'large' : 'small'"
:size="isDesktop ? 'large' : 'medium'"
@change="update($event, settingGroup.group, settingGroup.key, settingParent, setting.key, setting.type, nested)"/>
<el-select
v-if="setting.type === 'module' || (setting.type.includes('atom') && setting.type.includes('dropdown'))"
......
<template>
<div>
<div v-for="mascot in data" :key="getId(mascot)" class="mascot-container">
<el-form-item label="Name" label-width="85px">
<el-form-item label="Name" label-width="85px" class="mascot-form-item">
<div class="mascot-name-container">
<el-input :value="getName(mascot)" placeholder="Name" class="mascot-name-input" @input="parseMascots($event, 'name', mascot)"/>
<el-button :size="isDesktop ? 'medium' : 'mini'" class="icon-minus-button" icon="el-icon-minus" circle @click="deleteMascotsRow(mascot)"/>
</div>
</el-form-item>
<el-form-item label="URL" label-width="85px">
<el-form-item label="URL" label-width="85px" class="mascot-form-item">
<el-input :value="getUrl(mascot)" placeholder="URL" class="mascot-input" @input="parseMascots($event, 'url', mascot)"/>
</el-form-item>
<el-form-item label="Mime type" label-width="85px">
<el-form-item label="Mime type" label-width="85px" class="mascot-form-item">
<el-input :value="getMimeType(mascot)" placeholder="Mime type" class="mascot-input" @input="parseMascots($event, 'mimeType', mascot)"/>
</el-form-item>
</div>
......
......@@ -296,7 +296,7 @@
@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
.delete-setting-button {
margin-left: 5px;
margin: 4px 0 0 5px;
height: 28px;
}
.delete-setting-button-container {
......@@ -338,17 +338,22 @@
margin: 0;
padding: 0 15px 10px 0;
}
.el-form-item:first-child .mascot-form-item {
padding: 0;
}
.el-form-item:first-child .rate-limit {
padding: 0;
}
.settings-delete-button {
margin: 4px 7px 0 -5px;
margin: 4px 15px 0 -5px;
}
}
.input-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.limit-input {
width: 46%;
width: 40%;
}
.proxy-url-input {
flex-direction: column;
......@@ -376,7 +381,7 @@
float: left;
}
.scale-input {
width: 46%;
width: 40%;
}
.setting-label {
display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment