mirror of
https://github.com/tenrok/vue-json-viewer.git
synced 2026-06-20 20:00:37 +03:00
fix bugs
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ new Vue({
|
|||||||
props: {
|
props: {
|
||||||
value: {
|
value: {
|
||||||
name: [
|
name: [
|
||||||
{name: 2}
|
{name: 2},
|
||||||
],
|
],
|
||||||
val: {
|
val: {
|
||||||
a: 1
|
a: 1
|
||||||
|
|||||||
+3
-3
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user