Fix broken mobile responsiveness and URL input type
This commit is contained in:
@@ -383,12 +383,16 @@ section:target {
|
|||||||
|
|
||||||
input[type="file"],
|
input[type="file"],
|
||||||
input[type="radio"],
|
input[type="radio"],
|
||||||
.hide-on-large-screen,
|
|
||||||
#installPWA,
|
#installPWA,
|
||||||
.hidden {
|
.hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.show-on-large-screen {
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
.method,
|
.method,
|
||||||
kbd,
|
kbd,
|
||||||
select,
|
select,
|
||||||
@@ -574,15 +578,6 @@ ol li {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.show-on-small-screen {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.show-on-large-screen {
|
|
||||||
display: flex;
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.info-response {
|
.info-response {
|
||||||
color: #ffeb3b;
|
color: #ffeb3b;
|
||||||
}
|
}
|
||||||
@@ -726,11 +721,6 @@ section {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hide-on-large-screen,
|
|
||||||
.show-on-small-screen {
|
|
||||||
display: inline-flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sticky-inner {
|
.sticky-inner {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -3,7 +3,8 @@
|
|||||||
<div class="flex-wrap">
|
<div class="flex-wrap">
|
||||||
<span class="slide-in">
|
<span class="slide-in">
|
||||||
<nuxt-link :to="localePath('index')">
|
<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>
|
</nuxt-link>
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span>
|
||||||
@@ -233,6 +234,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
$responsiveWidth: 768px;
|
||||||
|
|
||||||
@keyframes slideIn {
|
@keyframes slideIn {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
@@ -257,6 +260,16 @@
|
|||||||
color: var(--ac-color);
|
color: var(--ac-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.show-on-small-screen {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: $responsiveWidth) {
|
||||||
|
.show-on-small-screen {
|
||||||
|
display: inline-flex;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -148,7 +148,7 @@
|
|||||||
@keyup.enter="isValidURL ? sendRequest() : null"
|
@keyup.enter="isValidURL ? sendRequest() : null"
|
||||||
id="url"
|
id="url"
|
||||||
name="url"
|
name="url"
|
||||||
type="url"
|
type="text"
|
||||||
v-model="uri"
|
v-model="uri"
|
||||||
spellcheck="false"
|
spellcheck="false"
|
||||||
@input="pathInputHandler"
|
@input="pathInputHandler"
|
||||||
|
|||||||
Reference in New Issue
Block a user