Fixing thumbnails layout and rendering

This commit is contained in:
Bruno Alves de Faria committed 2017-10-25 22:20:43 -02:00
1 parent 05b2aa3e15
commit ed0bde0404
3 files changed
+3 -3

No files matched your search

@@ -19,7 +19,7 @@
<div class="study-switch rp-t-1 rp-x-1">
<div class="title-label">Study</div>
<div class="study-box r-font">
{{#scrollArea class='study-browser'}}
{{#scrollArea class='study-browser' scrollStep=91}}
{{>Template.dynamic template=studyBrowserTemplate data=(clone this currentStudy=instance.currentStudy)}}
{{/scrollArea}}
</div>
@@ -103,7 +103,7 @@ Template.seriesQuickSwitch.events({
const $switch = $(event.currentTarget);
const browserWidth = $switch.offset().left + $switch.outerWidth();
const $seriesBrowser = $switch.find('.series-browser');
$seriesBrowser.width(browserWidth);
$seriesBrowser.width(browserWidth - (browserWidth % 237));
instance.$('.series-quick-switch').addClass('series-triggered');
},