mirror of
https://github.com/romancm/gamebrary
synced 2024-11-23 19:53:14 +00:00
Screenshots slider adjustments
This commit is contained in:
parent
b3ff46d358
commit
f54a406744
1 changed files with 9 additions and 5 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue