2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-20 20:00:37 +03:00
This commit is contained in:
陈峰
2017-10-18 14:53:42 +08:00
parent d41a009910
commit b490fd4d9d
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ new Vue({
props: { props: {
value: { value: {
name: [ name: [
{name: 2} {name: 2},
], ],
val: { val: {
a: 1 a: 1
+3 -3
View File
@@ -94,13 +94,13 @@ export default {
box-shadow:0 2px 7px rgba(0,0,0,.15);border-color:transparent;position:relative box-shadow:0 2px 7px rgba(0,0,0,.15);border-color:transparent;position:relative
} }
.code-box { .code-box {
height: 300px; max-height: 300px;
overflow: hidden; overflow: hidden;
padding: 20px; padding: 20px;
&.more { &.more {
height: auto; max-height: initial;
overflow: auto; overflow: visible;
} }
} }