Commit 1d28d5e0568f723eaf943261c2ac08577bf3a97d
1 parent
997497ee
Exists in
news_style
Fixing display of blog event information when there is no image
Showing
2 changed files
with
8 additions
and
6 deletions
Show diff stats
html-cms/blog.html
pagina_comunidade.css
| ... | ... | @@ -826,6 +826,7 @@ ul#itens-legend-grafic{ |
| 826 | 826 | border-top: 1px solid #D3D6DE; |
| 827 | 827 | padding-top: 25px; |
| 828 | 828 | margin-bottom: 25px; |
| 829 | + display: table; | |
| 829 | 830 | } |
| 830 | 831 | |
| 831 | 832 | .blog-event-item .blog-event-information .date { |
| ... | ... | @@ -835,6 +836,7 @@ ul#itens-legend-grafic{ |
| 835 | 836 | } |
| 836 | 837 | |
| 837 | 838 | .blog-event-item .blog-event-information .title { |
| 839 | + padding-right: 0px !important; | |
| 838 | 840 | font-weight: 700 !important; |
| 839 | 841 | font-size: 15px; |
| 840 | 842 | margin-top: 6px; |
| ... | ... | @@ -848,14 +850,14 @@ ul#itens-legend-grafic{ |
| 848 | 850 | } |
| 849 | 851 | |
| 850 | 852 | .blog-event-item .blog-event-information { |
| 851 | - float: left; | |
| 852 | - width: 370px; | |
| 853 | + display: table-cell; | |
| 854 | + width: 100%; | |
| 853 | 855 | } |
| 854 | 856 | |
| 855 | 857 | .blog-event-item .item-image { |
| 856 | - float: left; | |
| 857 | - height: 100%; | |
| 858 | - margin-right: 20px; | |
| 858 | + display: table-cell; | |
| 859 | + vertical-align: top; | |
| 860 | + padding-right: 20px; | |
| 859 | 861 | } |
| 860 | 862 | |
| 861 | 863 | .blog-event-item img { | ... | ... |