fixed the empty state styling on smallframe [ci skip]

This commit is contained in:
danielgrippi 2012-05-24 11:00:07 -07:00
parent 34d98a6d3c
commit a5f023354a
2 changed files with 8 additions and 0 deletions

View file

@ -83,6 +83,8 @@ app.views.framerContent = app.views.Base.extend({
}); });
app.views.Post.EditableSmallFrame = app.views.Post.SmallFrame.extend({ app.views.Post.EditableSmallFrame = app.views.Post.SmallFrame.extend({
className : "canvas-frame editable",
events : { events : {
"keyup [contentEditable]" : "setFormAttrs" "keyup [contentEditable]" : "setFormAttrs"
}, },

View file

@ -271,6 +271,7 @@ color: white;
} }
} }
&.editable,
&.big-text { &.big-text {
.text-content { .text-content {
display : table; display : table;
@ -289,6 +290,11 @@ color: white;
} }
} }
&.editable p {
min-width : 225px;
min-height : 225px;
}
&.x2.big-text .text-content { &.x2.big-text .text-content {
width : $two-column-width - 40 + px; width : $two-column-width - 40 + px;
} }