fix: responsiveness

This commit is contained in:
liyasthomas
2021-08-05 21:29:05 +05:30
parent 4b416586b7
commit 3bd78869a0
7 changed files with 41 additions and 8 deletions

View File

@@ -73,7 +73,7 @@
@click.native="$refs.options.tippy().hide()"
/>
<!-- <SmartItem :label="$t('app.status')" /> -->
<div class="flex text-xs opacity-50 py-2 px-4">
<div class="flex opacity-50 py-2 px-4">
{{ `${$t("app.name")} ${$t("app.version")}` }}
</div>
</div>

View File

@@ -7,7 +7,7 @@
<span>Hoppscotch</span>
</div>
<div class="space-x-2 flex-shrink-0 inline-flex items-center">
<AppGitHubStarButton class="mt-1 mr-2" />
<AppGitHubStarButton class="flex mx-2 mt-1" />
<TabPrimary
id="installPWA"
v-tippy="{ theme: 'tooltip' }"

View File

@@ -1,6 +1,6 @@
<template>
<aside>
<nav class="flex flex-col flex-nowrap">
<nav class="flex flex-nowrap md:flex-col">
<nuxt-link
v-for="(navigation, index) in primaryNavigation"
:key="`navigation-${index}`"

View File

@@ -19,6 +19,10 @@
{ 'pointer-events-none': loading },
{ 'flex-1': label },
{ 'flex-row-reverse justify-end': reverse },
{
'border border-divider hover:border-dividerDark focus:border-dividerDark':
outline,
},
]"
:disabled="disabled"
:tabindex="loading ? '-1' : '0'"
@@ -99,6 +103,10 @@ export default {
type: Boolean,
default: false,
},
outline: {
type: Boolean,
default: false,
},
infoIcon: {
type: String,
default: "",