fix max scrollbar in json editor

This commit is contained in:
Andrew Cantino 2013-05-05 22:37:06 -07:00
parent 056ee91758
commit d3f0cea86f
2 changed files with 59 additions and 34 deletions

View file

@ -1,34 +0,0 @@
.json-editor {
background-color: #FFF;
position: relative; }
.json-editor .builder {
background-color: white;
overflow: auto;
font-size: 0.9em; }
.json-editor .builder .key {
font-weight: bold; }
.json-editor .builder .key .edit_field {
width: 80px; }
.json-editor .builder .val .edit_field {
width: 180px; }
.json-editor blockquote {
margin: 0;
padding: 0;
clear: both;
padding-left: 7px; }
.json-editor div {
background-color: #cfc;
margin: 1px;
padding: 2px; }
.json-editor .val {
font-style: italic; }
.json-editor .key a, .json-editor .val a {
color: black;
text-decoration: none; }
.json-editor .icon {
display: block;
float: right;
text-decoration: none;
padding-left: 5px;
border: 0 !important;
color: blue; }

View file

@ -0,0 +1,59 @@
.json-editor {
background-color: #FFF;
position: relative;
.builder {
background-color: white;
overflow: auto;
font-size: 0.9em;
padding-right: 10px;
.key {
font-weight: bold;
.edit_field {
width: 80px;
}
a {
color: black;
text-decoration: none;
}
}
.val {
font-style: italic;
.edit_field {
width: 180px;
}
a {
color: black;
text-decoration: none;
}
}
}
blockquote {
margin: 0;
padding: 0;
clear: both;
padding-left: 7px;
}
div {
background-color: #cfc;
margin: 1px;
padding: 2px;
}
.icon {
display: block;
float: right;
text-decoration: none;
padding-left: 5px;
border: 0 !important;
color: blue;
}
}