1
0
mirror of https://github.com/bitwarden/help synced 2025-12-06 00:03:30 +00:00

fluidbox images

This commit is contained in:
Kyle Spearrin
2017-05-23 17:10:24 -04:00
parent 18c6b37fda
commit cb2ffd927c
5 changed files with 29 additions and 3 deletions

View File

@@ -3,8 +3,8 @@
class ImageTag < Liquid::Tag
def render(context)
src = @markup.strip
"<a href=\"/images/#{src}\" target=\"_blank\">
<img class=\"img-responsive img-thumbnail\" src=\"/images/#{src}\" />
"<a href=\"/images/#{src}\" target=\"_blank\" rel=\"lightbox\">
<img class=\"img-responsive img-thumbnail img-tag\" src=\"/images/#{src}\" />
</a>"
end
end