Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Hide app promotion
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Sep 22, 2023
1 parent bd4da4f commit c432fa7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
</nuxt-link>
<nuxt-link
v-if="$route.path !== '/app' && !cosmetics.hideModrinthAppPromos"
class="btn btn-outline btn-primary"
class="btn btn-outline btn-primary app-btn"
to="/app"
>
<DownloadIcon /> Get Modrinth App
Expand Down Expand Up @@ -1174,5 +1174,11 @@ export default defineNuxtComponent({
gap: 1rem;
padding: 0.5rem 1rem;
}
@media (max-width: 1200px) {
.app-btn {
display: none;
}
}
</style>
<style src="vue-multiselect/dist/vue-multiselect.css"></style>

0 comments on commit c432fa7

Please sign in to comment.