Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
fix(pwa): fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jun 2, 2022
1 parent 7c0286a commit 756eb26
Show file tree
Hide file tree
Showing 6 changed files with 505 additions and 415 deletions.
39 changes: 21 additions & 18 deletions packages/pwa/src/client/components/PWAInstall.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,28 @@
<script src="./PWAInstall" />

<style lang="stylus">
@require '~@mr-hope/vuepress-shared/styles/reset.styl'
@require '~@mr-hope/vuepress-shared/styles/reset.styl';
.modal-button
button()
position fixed
right 1rem
bottom 1rem
padding 0 16px
border-radius 1.2rem
background var(--accent-color, $accentColor)
color var(--white, #fff)
font-weight 600
line-height 2.2rem
outline none
z-index 10
.modal-button {
button();
position: fixed;
right: 1rem;
bottom: 1rem;
padding: 0 16px;
border-radius: 1.2rem;
background: var(--accent-color, $accentColor);
color: var(--white, #fff);
font-weight: 600;
line-height: 2.2rem;
outline: none;
z-index: 10;
@media (display-mode standalone)
display none
@media (display-mode: standalone) {
display: none;
}
&:hover, &:active
background var(--accent-color-l25, lighten($accentColor, 25%))
&:hover, &:active {
background: var(--accent-color-l25, lighten($accentColor, 25%));
}
}
</style>
Loading

0 comments on commit 756eb26

Please sign in to comment.