Skip to content

Commit e9c6f8f

Browse files
committed
Merge pull request #584 from RocketChat/lightbox
Add light box lib *swipebox*
2 parents 74974ba + f9fb935 commit e9c6f8f

File tree

6 files changed

+10
-1
lines changed

6 files changed

+10
-1
lines changed

client/lib/jquery.swipebox.min.js

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/stylesheets/swipebox.min.css

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/rocketchat-oembed/client/oembedImageWidget.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template name="oembedImageWidget">
22
{{#if showImage}}
3-
<a href="{{url}}" target="_blank">
3+
<a href="{{url}}" class="swipebox" target="_blank">
44
{{#if parsedUrl}}
55
<div style="background-image: url({{url}}); background-size: contain; background-repeat: no-repeat; background-position: center left; height: 200px;"></div>
66
{{/if}}

public/img/icons.png

729 Bytes
Loading

public/img/icons.svg

+1
Loading

public/img/loader.gif

2.55 KB
Loading

0 commit comments

Comments
 (0)