Hide app promotion (#1376)

This commit is contained in:
Geometrically 2023-09-25 22:28:48 -05:00 committed by GitHub
parent 05d568d1c1
commit 475d434e98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@
</nuxt-link> </nuxt-link>
<nuxt-link <nuxt-link
v-if="$route.path !== '/app' && !cosmetics.hideModrinthAppPromos" v-if="$route.path !== '/app' && !cosmetics.hideModrinthAppPromos"
class="btn btn-outline btn-primary" class="btn btn-outline btn-primary app-btn"
to="/app" to="/app"
> >
<DownloadIcon /> Get Modrinth App <DownloadIcon /> Get Modrinth App
@ -1201,5 +1201,11 @@ export default defineNuxtComponent({
gap: 1rem; gap: 1rem;
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
} }
@media (max-width: 1200px) {
.app-btn {
display: none;
}
}
</style> </style>
<style src="vue-multiselect/dist/vue-multiselect.css"></style> <style src="vue-multiselect/dist/vue-multiselect.css"></style>