Skip to content

Commit

Permalink
Enhance close modal button
Browse files Browse the repository at this point in the history
  • Loading branch information
nioc committed Feb 11, 2021
1 parent d846638 commit 5512b05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/assets/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,8 @@ html, body {
.has-placeholder-shade-1::placeholder {
color: $shade-1;
}

.modal-close::before,
.modal-close::after {
background-color: $white;
}
2 changes: 1 addition & 1 deletion src/components/MessageLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="modal-content image-container">
<img :src="url" alt="">
</div>
<button class="modal-close is-large" aria-label="close" @click="displayModal = false" />
<button class="modal-close is-large" aria-label="close" title="Close" @click="displayModal = false" />
</div>
</div>
</template>
Expand Down

0 comments on commit 5512b05

Please sign in to comment.