diff options
-rw-r--r-- | app/utils/widgets.py | 7 | ||||
-rw-r--r-- | design/sass/_writing_details.scss | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/app/utils/widgets.py b/app/utils/widgets.py index 170cc88..c688518 100644 --- a/app/utils/widgets.py +++ b/app/utils/widgets.py @@ -130,7 +130,12 @@ def parse_image(s): if cl[0] == 'cluster': cluster_class = cl[1] try: - extra = cl[2] + if cl[2] == 'caption': + caption = True + elif cl[2] == 'exif': + exif = True + else: + extra = cl[2] except: pass if len(cl) > 1: diff --git a/design/sass/_writing_details.scss b/design/sass/_writing_details.scss index 37c7c8f..2e134a5 100644 --- a/design/sass/_writing_details.scss +++ b/design/sass/_writing_details.scss @@ -376,6 +376,7 @@ figure.picwide img.picwide { img { width: 100%; padding: 0; + margin-top: 0; max-width: 100%; } .picwide { @@ -408,7 +409,7 @@ figure.picwide img.picwide { div img { width: 100%; padding: 0; - margin: 0 6px 6px 0; + margin: 0 6px 0 0; } div a:last-of-type { img { @@ -439,6 +440,9 @@ figure.picwide img.picwide { .row-3 .pic33 { max-width: 32.8%; } + .pic5 { + max-width: 49.7%; + } } } |