# HG changeset patch # User souliane # Date 1448434586 -3600 # Node ID a55df9c37d0e34d9fbe9c8f222df8cb279301daa # Parent b392ea1514ee5e5b42ad9e336d77d54d8cef69a9 browser_side (blog): display title with h2 instead of h1 + add some bottom margin for the tags diff -r b392ea1514ee -r a55df9c37d0e src/browser/public/libervia.css --- a/src/browser/public/libervia.css Wed Nov 25 02:35:32 2015 +0100 +++ b/src/browser/public/libervia.css Wed Nov 25 07:56:26 2015 +0100 @@ -960,7 +960,7 @@ .mblog_tags { background: #fbfbfb none repeat scroll 0% 0%; padding: 5px; - margin: 8px 0px 0px; + margin: 8px 0px 5px 0px; overflow: hidden; border-radius: 5px; } diff -r b392ea1514ee -r a55df9c37d0e src/browser/sat_browser/richtext.py --- a/src/browser/sat_browser/richtext.py Wed Nov 25 02:35:32 2015 +0100 +++ b/src/browser/sat_browser/richtext.py Wed Nov 25 07:56:26 2015 +0100 @@ -323,7 +323,7 @@ content = self._original_content text = content['text'] if 'title' in content and content['title']: - title = '

%s

' % html_tools.html_sanitize(content['title']) + title = '

%s

' % html_tools.html_sanitize(content['title']) tags = "" for tag in common.dict2iter('tag', content):