style fixes

This commit is contained in:
negue
2023-04-29 01:18:25 +02:00
parent cea13d5bc3
commit ad3e4d604a
4 changed files with 14 additions and 7 deletions

View File

@@ -1,5 +1,8 @@
<template>
<div class="buttons">
<div
class="buttons"
:class="{'no-padding': noPadding}"
>
<button
v-if="!hideSave"
class="btn btn-save"
@@ -23,17 +26,20 @@
<script>
export default {
name: 'SaveCancelButtons',
props: ['hideSave', 'disableSave', 'primaryButtonLabel', 'primaryButtonColor'],
props: ['hideSave', 'disableSave', 'primaryButtonLabel', 'primaryButtonColor', 'noPadding'],
};
</script>
<style scoped>
<style lang="scss" scoped>
.buttons {
align-items: center;
display: flex;
flex-direction: column;
margin-top: 1.5rem;
&:not(.no-padding) {
margin-top: 1.5rem;
}
}
.btn-save {

View File

@@ -4,7 +4,7 @@
v-once
class="label"
>
{{ $t('yourBalance') }}:
{{ $t('yourBalance') }}
</span>
<balance-info

View File

@@ -68,6 +68,7 @@
<save-cancel-buttons
primary-button-label="changeClassSetting"
class="mb-2"
:no-padding="true"
:disable-save="!enoughGemsAvailable"
@saveClicked="changeClassAndClose()"
@cancelClicked="requestCloseModal()"
@@ -113,7 +114,7 @@ input {
.gem-price-spacing {
margin-top: 1.5rem;
margin-bottom: 1.125rem;
margin-bottom: 1.25rem;
justify-content: center;
}

View File

@@ -95,7 +95,7 @@
}
.input-rows {
width: calc(402px + 1.5rem);
width: calc(600px + 1.5rem);
}
.content-centered {