Skip to content

Commit 651ea1f

Browse files
committed
スワイプ時の表示されるテキストを差し替え
1 parent b99bfcd commit 651ea1f

File tree

10 files changed

+9
-14
lines changed

10 files changed

+9
-14
lines changed

assets/README.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

assets/images/like-txt.png

13.3 KB
Loading

assets/images/nope-txt.png

8.25 KB
Loading

assets/images/super-txt.png

21.2 KB
Loading

assets/like-txt.png

-3.74 KB
Binary file not shown.

assets/nope-txt.png

-2.83 KB
Binary file not shown.

assets/rewind-txt.png

-21.7 KB
Binary file not shown.

assets/rewind.png

-7.95 KB
Binary file not shown.

assets/super-txt.png

-4.57 KB
Binary file not shown.

pages/swipe.vue

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@
2323
<img
2424
class="like-pointer"
2525
slot="like"
26-
src="~/assets/like-txt.png"
26+
src="~/assets/images/like-txt.png"
2727
>
2828
<img
2929
class="nope-pointer"
3030
slot="nope"
31-
src="~/assets/nope-txt.png"
31+
src="~/assets/images/nope-txt.png"
3232
>
3333
<img
3434
class="super-pointer"
3535
slot="super"
36-
src="~/assets/super-txt.png"
36+
src="~/assets/images/super-txt.png"
3737
>
3838
</VueTinder>
3939
<div class="swipe-buttons">
@@ -179,8 +179,9 @@ export default {
179179
position: absolute;
180180
z-index: 1;
181181
top: 20px;
182-
width: 64px;
183-
height: 64px;
182+
width: 140px;
183+
height: 96px;
184+
object-fit: contain;
184185
}
185186
186187
.nope-pointer {
@@ -198,8 +199,9 @@ export default {
198199
left: 0;
199200
right: 0;
200201
margin: auto;
201-
width: 112px;
202-
height: 78px;
202+
width: 200px;
203+
height: 144px;
204+
object-fit: contain;
203205
}
204206
205207
.pic {

0 commit comments

Comments
 (0)