Skip to content

Commit 19b6e00

Browse files
committed
follow finder and cuted text
1 parent 7e61d25 commit 19b6e00

File tree

5 files changed

+9
-18
lines changed

5 files changed

+9
-18
lines changed

public/css/frontend.css

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13347,7 +13347,6 @@ footer a:hover {
1334713347

1334813348
#projects .project .swiper-container .swiper-wrapper .swiper-slide p {
1334913349
text-align: justify;
13350-
width: calc((1800 / 1125) * 75vh);
1335113350
max-height: 60vh;
1335213351
overflow: scroll;
1335313352
overflow-x: hidden;
@@ -13356,12 +13355,7 @@ footer a:hover {
1335613355
@media (min-width: 576px) {
1335713356
#projects .project .swiper-container .swiper-wrapper .swiper-slide p {
1335813357
max-height: 75vh;
13359-
}
13360-
}
13361-
13362-
@media screen and (max-height: 400px) {
13363-
#projects .project .swiper-container .swiper-wrapper .swiper-slide p {
13364-
margin: 2rem 0;
13358+
width: calc((1800 / 1125) * 75vh);
1336513359
}
1336613360
}
1336713361

public/js/app.js

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/assets/js/components/frontend/ProjectItem.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@
4242
return {
4343
swiperOptions: {
4444
speed: 1000,
45-
spaceBetween: 50,
46-
followFinger: false
45+
spaceBetween: 50
4746
},
4847
currentImage: 0
4948
}

resources/assets/js/components/frontend/Projects.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
return {
2626
swiperOptions: {
2727
direction: 'vertical',
28-
speed: 1000,
29-
followFinger: false
28+
speed: 1000
3029
},
3130
projects: [],
3231
locale: '',

resources/assets/sass/frontend.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,11 @@ footer {
185185
text-align: justify;
186186

187187
// description width equals to horizontal image width
188-
width: calc((1800 / 1125) * 75vh);
189188
max-height: 60vh;
190-
@include media-breakpoint-up(sm) { max-height: 75vh };
191-
@media screen and (max-height: 400px) { margin: 2rem 0; }
189+
@include media-breakpoint-up(sm) {
190+
max-height: 75vh;
191+
width: calc((1800 / 1125) * 75vh);
192+
};
192193

193194
overflow: scroll;
194195
overflow-x: hidden;

0 commit comments

Comments
 (0)