Fixes spaced to right class on theme.

This commit is contained in:
Mateus Machado Luna 2018-10-02 15:59:02 -03:00
parent 9143ab98f4
commit 3331af71ae
2 changed files with 6 additions and 5 deletions

View File

@ -168,7 +168,7 @@
}
}
.spaced-to-right {
.fullscreen-spaced-to-right {
.table-wrapper {
margin-left: 20.83%;
width: calc(100vw - 20.83%) !important;
@ -287,6 +287,7 @@
cursor: pointer;
border: 0;
background: transparent;
position: relative;
.icon {
border-radius: 100px;
@ -299,8 +300,8 @@
}
.circular-counter {
position: absolute;
right: calc(4.16667% + 3px);
top: 18px;
right: calc(4.16667% + 1px);
top: -3px;
}
}
}

View File

@ -88,7 +88,7 @@
</aside>
<div
:class="{ 'spaced-to-right': !isMetadataCompressed }"
:class="{ 'fullscreen-spaced-to-right': !isMetadataCompressed }"
@keyup.left.prevent="slideIndex > 0 ? prevSlide() : null"
@keyup.right.prevent="slideIndex < slideItems.length - 1 ? nextSlide() : null">
<div class="table-wrapper">
@ -331,7 +331,7 @@ export default {
this.slideItems.push(newItem);
} else {
this.slideItems.unshift(newItem);
updatedSlideIndex++;
updatedSlideIndex++;
}
} else {
this.$set(this.slideItems, existingItemIndex, newItem);