fix admin modale

This commit is contained in:
Simon Vieille 2022-10-21 17:07:43 +02:00
parent 16b8326fae
commit 62e4a7df5b
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -30,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div class="modal__content">
<div v-for="lang in langs">
<span class="lang" v-text="lang"></span>
<input type="text" v-model="newValue[lang]" required>
<input type="text" v-model="newValue[lang]" required style="width: calc(100% - 100px)">
</div>
<NcActions>
@ -43,7 +43,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<div class="modal__content">
<div v-for="lang in langs">
<span class="lang" v-text="lang"></span>
<input type="text" v-model="editValue[lang]" required>
<input type="text" v-model="editValue[lang]" required style="width: calc(100% - 100px)">
</div>
<div class="pull-right">
@ -60,9 +60,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</div>
</template>
<style scoped>
<style>
.modal__content {
width: 200px;
padding: 10px;
}
@ -73,12 +72,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
box-sizing: border-box;
}
.modal__content input[type=text] {
width: calc(100% - 85px);
display: inline-block;
margin: 0;
}
.pull-right {
float: right;
}