Skip to content

Commit

Permalink
Tweaked the styling of the rows to keep things more even.
Browse files Browse the repository at this point in the history
  • Loading branch information
sderickson committed Oct 4, 2013
1 parent 3a4e7c8 commit 357548b
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 60 deletions.
57 changes: 30 additions & 27 deletions dev/css/treema.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dev/js/treema.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/base.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class TreemaNode
parent: null

# templates
nodeTemplate: '<div class="treema-row"><div class="treema-value"></div></div>'
nodeTemplate: '<div class="treema-row treema-clearfix"><div class="treema-value"></div></div>'
childrenTemplate: '<div class="treema-children"></div>'
addChildTemplate: '<div class="treema-add-child" tabindex="9009">+</div>'
tempErrorTemplate: '<span class="treema-temp-error"></span>'
Expand Down
9 changes: 6 additions & 3 deletions src/style/base.sass
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@
width: 200px

.treema-type-select-container, .treema-schema-select-container
display: inline-block
display: block
position: relative
margin-right: 5px
top: -1px
top: 1px
float: left

select
position: absolute
Expand Down Expand Up @@ -75,7 +76,8 @@

.treema-value
cursor: text
display: inline-block
display: block
float: left
max-width: 300px
width: 100%

Expand All @@ -86,6 +88,7 @@
.treema-key
color: #5353ac
float: left
display: block
cursor: pointer
margin-right: 5px

Expand Down
Loading

0 comments on commit 357548b

Please sign in to comment.