Skip to content

Commit b1a7c87

Browse files
author
Richard Young
committed
show container name and updated styles
1 parent 23526f3 commit b1a7c87

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

app/assets/stylesheets/cms/page_content_editing.css.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
.cms-container {
66
border: 1px solid #c0c0c0;
77
margin: 15px 0;
8+
min-height: 100px;
89
}
910

1011
.cms-container:hover {
@@ -17,4 +18,14 @@
1718
margin-right: auto;
1819
display:block;
1920
margin-bottom: 5px;
21+
}
22+
23+
.cms-container-description {
24+
font-size: 10px;
25+
text-align: center;
26+
}
27+
28+
.cms-container-description hr {
29+
border-top: 1px solid #c0c0c0;
30+
margin: 0px 0px 5px 0px;
2031
}

app/views/cms/pages/_simple_container.html.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<div class="cms-container" data-container="<%= container %>">
2+
<div class="cms-container-description"><%= name %><hr/></div>
23
<%= content %>
34
<%= image_tag "cms/plus.png",
45
:class => 'cms-add-content',

0 commit comments

Comments
 (0)