Small cosmetic fix

8 views
Skip to first unread message

Karl-Johan Norén

unread,
Feb 5, 2014, 6:50:24 AM2/5/14
to konop...@googlegroups.com
Found a small cosmetic issue with 0.5.0 of Konopas: the border of an
image leaves a small space between the image itself and the border at
the bottom.

App.js line 922:
img = '<a class="part_img" href="' + tgt + '"><img src="' + tgt + '" alt="Photo of ' + p_name + '"></a>';

Since the border is put in place via the class part_img, that means the
border will include the small area below the baseline within the border.

Two possible fixes:

1. App.js: Move the class="part_img" to the img element in
2. Skin.css: change the selector for the rule ".part_img" to ".part_img img"

--
Karl-Johan Norén karl-...@norensoversattningar.se
Noréns översättningar http://www.norensoversattningar.se
Sjöåkravägen 40C 036-377 201
SE-564 31 Bankeryd +46(0)36-377 201
SWEDEN

Reply all
Reply to author
Forward
0 new messages