# HG changeset patch # User neko259 # Date 2016-01-07 21:36:21 # Node ID 90cde611365f500191c96e393fe051c514e3e467 # Parent bebb58181159ec13fd673b08a92b9fd59b7944cb Added max width to tag description in MD style. Recognize bmp extension from mimetype diff --git a/boards/forms.py b/boards/forms.py --- a/boards/forms.py +++ b/boards/forms.py @@ -62,6 +62,8 @@ MIMETYPE_EXTENSIONS = { 'x-diff': 'diff', 'image/svg+xml': 'svg', 'application/x-shockwave-flash': 'swf', + 'image/x-ms-bmp': 'bmp', + 'image/bmp': 'bmp', } diff --git a/boards/static/css/md/base_page.css b/boards/static/css/md/base_page.css --- a/boards/static/css/md/base_page.css +++ b/boards/static/css/md/base_page.css @@ -121,6 +121,7 @@ body { .tag_info > .tag-text-data { text-align: left; + max-width: 30em; } .header {