Skip to content

Commit c7f1b6d

Browse files
committed
fix: show action buttons on mobile
1 parent f417483 commit c7f1b6d

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

src/components/Notes/NoteCard.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,12 @@ const strings = {
125125
opacity: 1;
126126
}
127127
128+
@media (hover: none) {
129+
.note-card__actions {
130+
opacity: 1;
131+
}
132+
}
133+
128134
&__title {
129135
margin: 0 0 0.5rem 0;
130136
font-size: 1rem;

src/components/Photos/FolderStack.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,5 +257,11 @@ const strings = {
257257
&:hover &__actions {
258258
opacity: 1;
259259
}
260+
261+
@media (hover: none) {
262+
.folder-stack__actions {
263+
opacity: 1;
264+
}
265+
}
260266
}
261267
</style>

src/components/Photos/PhotoCard.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,12 @@ const strings = {
142142
opacity: 1;
143143
}
144144
145+
@media (hover: none) {
146+
.photo-card__actions {
147+
opacity: 1;
148+
}
149+
}
150+
145151
&__caption {
146152
position: absolute;
147153
bottom: 0;

0 commit comments

Comments
 (0)