Skip to content

Commit

Permalink
Merge pull request #584 from RocketChat/lightbox
Browse files Browse the repository at this point in the history
Add light box lib *swipebox*
  • Loading branch information
rodrigok committed Aug 26, 2015
2 parents 74974ba + f9fb935 commit e9c6f8f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions client/lib/jquery.swipebox.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions client/stylesheets/swipebox.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/rocketchat-oembed/client/oembedImageWidget.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template name="oembedImageWidget">
{{#if showImage}}
<a href="{{url}}" target="_blank">
<a href="{{url}}" class="swipebox" target="_blank">
{{#if parsedUrl}}
<div style="background-image: url({{url}}); background-size: contain; background-repeat: no-repeat; background-position: center left; height: 200px;"></div>
{{/if}}
Expand Down
Binary file added public/img/icons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/img/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/loader.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e9c6f8f

Please sign in to comment.