Improve tags settings (#3569)
This commit is contained in:
parent
fd3f4c37a0
commit
7e1cad3e12
3 changed files with 30 additions and 7 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="ui-textarea" :class="{ focused, filled, tall }">
|
||||
<div class="ui-textarea" :class="{ focused, filled, tall, pre }">
|
||||
<div class="input">
|
||||
<span class="label" ref="label"><slot></slot></span>
|
||||
<textarea ref="input"
|
||||
|
|
@ -46,6 +46,11 @@ export default Vue.extend({
|
|||
required: false,
|
||||
default: false
|
||||
},
|
||||
pre: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: false
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
@ -175,6 +180,11 @@ root(fill)
|
|||
> textarea
|
||||
min-height 200px
|
||||
|
||||
&.pre
|
||||
> .input
|
||||
> textarea
|
||||
white-space pre
|
||||
|
||||
.ui-textarea.fill
|
||||
root(true)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue