refactor: minor ui improvements

This commit is contained in:
liyasthomas
2021-08-29 13:25:01 +05:30
parent f75b2e26a3
commit ebd8f43219
3 changed files with 24 additions and 3 deletions

View File

@@ -197,6 +197,8 @@ _Official proxy server is hosted by Hoppscotch - **[GitHub](https://github.com/h
🌎 **i18n:** Experience the app in your own language. 🌎 **i18n:** Experience the app in your own language.
Help us to translate Hoppscotch. Please read [`TRANSLATIONS`](TRANSLATIONS.md) for details on our [`CODE OF CONDUCT`](CODE_OF_CONDUCT.md), and the process for submitting pull requests to us.
📦 **Add-ons:** Official add-ons for hoppscotch. 📦 **Add-ons:** Official add-ons for hoppscotch.
- **[Proxy](https://github.com/hoppscotch/proxyscotch)** - A simple proxy server created for Hoppscotch - **[Proxy](https://github.com/hoppscotch/proxyscotch)** - A simple proxy server created for Hoppscotch

View File

@@ -9,14 +9,33 @@
items-center items-center
group group
hover:bg-primaryLight hover:bg-primaryLight
focus:outline-none
focus-visible:bg-primaryLight
" "
tabindex="0"
@click="$emit('action', shortcut.action)" @click="$emit('action', shortcut.action)"
@keydown.enter="$emit('action', shortcut.action)"
> >
<SmartIcon <SmartIcon
class="mr-4 opacity-75 transition svg-icons group-hover:opacity-100" class="
mr-4
opacity-75
transition
svg-icons
group-hover:opacity-100
group-focus:opacity-100
"
:name="shortcut.icon" :name="shortcut.icon"
/> />
<span class="flex flex-1 mr-4 transition group-hover:text-secondaryDark"> <span
class="
flex flex-1
mr-4
transition
group-hover:text-secondaryDark
group-focus:text-secondaryDark
"
>
{{ $t(shortcut.label) }} {{ $t(shortcut.label) }}
</span> </span>
<span <span

View File

@@ -181,7 +181,7 @@ export default {
position: "bottom-center", position: "bottom-center",
duration: 3000, duration: 3000,
keepOnHover: true, keepOnHover: true,
singleton: true, // singleton: true,
}, },
// Google Analytics module configuration (https://github.com/nuxt-community/analytics-module) // Google Analytics module configuration (https://github.com/nuxt-community/analytics-module)