fix checkbox in preview
This commit is contained in:
parent
40c9163d21
commit
1866dcfdc2
|
@ -99,15 +99,9 @@
|
||||||
>
|
>
|
||||||
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<span class="checkbox">
|
<Checkbox>
|
||||||
<input
|
{{ $t('settings.style.preview.checkbox') }}
|
||||||
id="preview_checkbox"
|
</Checkbox>
|
||||||
checked="very yes"
|
|
||||||
type="checkbox"
|
|
||||||
class="input"
|
|
||||||
>
|
|
||||||
<label for="preview_checkbox">{{ $t('settings.style.preview.checkbox') }}</label>
|
|
||||||
</span>
|
|
||||||
<button class="btn button-default">
|
<button class="btn button-default">
|
||||||
{{ $t('settings.style.preview.button') }}
|
{{ $t('settings.style.preview.button') }}
|
||||||
</button>
|
</button>
|
||||||
|
@ -118,6 +112,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||||
import {
|
import {
|
||||||
faTimes,
|
faTimes,
|
||||||
|
@ -133,7 +128,11 @@ library.add(
|
||||||
faReply
|
faReply
|
||||||
)
|
)
|
||||||
|
|
||||||
export default {}
|
export default {
|
||||||
|
components: {
|
||||||
|
Checkbox
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
@ -224,8 +223,6 @@ export default {}
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
|
|
||||||
.checkbox {
|
.checkbox {
|
||||||
display: inline-flex;
|
|
||||||
align-items: baseline;
|
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue