Screenshots slider adjustments

This commit is contained in:
Roman Cervantes 2019-04-26 11:45:21 -07:00
parent b3ff46d358
commit f54a406744

View file

@ -47,7 +47,7 @@ export default {
return { return {
href: `${url}${image.cloudinary_id}.jpg`, href: `${url}${image.cloudinary_id}.jpg`,
title: `${this.game.name} - Screenshot ${index + 1} of ${this.game.screenshots.length}`, title: `${this.game.name} (${index + 1} of ${this.game.screenshots.length})`,
}; };
}) })
: null; : null;
@ -103,7 +103,9 @@ export default {
.blueimp-gallery { .blueimp-gallery {
.title { .title {
font-size: 14px; font-size: 14px !important;
max-width: 50vw;
text-align: left;
} }
.prev, .prev,
@ -140,12 +142,14 @@ export default {
opacity: 1; opacity: 1;
padding: $gp; padding: $gp;
position: absolute; position: absolute;
top: $gp / 2; font-size: 20px;
right: $gp * 2; margin: -15px 0 !important;
top: 0;
right: $gp * 4;
text-decoration: none; text-decoration: none;
&:before { &:before {
font-size: 14px; font-size: 12px;
font-weight: 900; font-weight: 900;
content: "Back to game"; content: "Back to game";
border: 1px solid $color-gray; border: 1px solid $color-gray;