Skip to content

Commit

Permalink
Merge pull request #399 from sparcs-kaist/fix/mobile-button
Browse files Browse the repository at this point in the history
Fix mobile buttons css
  • Loading branch information
000wan authored Sep 10, 2023
2 parents 165fae5 + e7c0782 commit c684041
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/ThePostDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,20 +125,20 @@
<div class="post__buttons">
<button
v-if="!post.is_hidden"
class="button"
class="button mobile-button"
@click="$emit('copy-url')"
>
<i class="like-button__icon material-icons-outlined">content_copy</i>
{{ $t('copy-url') }}
<label class="button-text">{{ $t('copy-url') }}</label>
</button>
<button
v-if="!post.is_hidden"
class="button archive-button"
class="button archive-button mobile-button"
:class="{ 'button--clicked': post.my_scrap }"
@click="$emit('archive')"
>
<i class="like-button__icon material-icons-outlined">add</i>
{{ $t('archive') }}
<label class="button-text">{{ $t('archive') }}</label>
</button>
</div>
</div>
Expand Down

0 comments on commit c684041

Please sign in to comment.