Fix broken mobile responsiveness and URL input type

This commit is contained in:
Liyas Thomas
2020-08-17 17:04:13 +05:30
parent 629ee3e33f
commit 4f75dd30fe
3 changed files with 20 additions and 17 deletions

View File

@@ -3,7 +3,8 @@
<div class="flex-wrap">
<span class="slide-in">
<nuxt-link :to="localePath('index')">
<h1 class="logo">Hoppscotch</h1>
<h1 class="logo hide-on-small-screen">Hoppscotch</h1>
<h1 class="logo show-on-small-screen">Hs</h1>
</nuxt-link>
</span>
<span>
@@ -233,6 +234,8 @@
</template>
<style scoped lang="scss">
$responsiveWidth: 768px;
@keyframes slideIn {
0% {
opacity: 0;
@@ -257,6 +260,16 @@
color: var(--ac-color);
}
}
.show-on-small-screen {
display: none;
}
@media (max-width: $responsiveWidth) {
.show-on-small-screen {
display: inline-flex;
}
}
</style>
<script>