chore: lint + minor ui tweaks

This commit is contained in:
liyasthomas
2021-06-06 16:35:30 +05:30
parent 7b6c4f71a2
commit 5c9093823b
5 changed files with 8 additions and 21 deletions

View File

@@ -1,19 +1,16 @@
<template> <template>
<footer class="footer"> <footer class="footer">
<div class="row-wrapper"> <div class="flex justify-between items-center flex-1">
<span <span class="flex font-mono" style="align-items: start">
class="flex flex-col font-mono md:flex-row"
style="align-items: start"
>
<a <a
class="footer-link" class="footer-link hidden md:inline-flex"
href="https://www.netlify.com" href="https://www.netlify.com"
target="_blank" target="_blank"
rel="noopener" rel="noopener"
> >
Powered by Netlify Powered by Netlify
</a> </a>
<span> <span class="hidden md:inline-flex">
<a <a
class="footer-link" class="footer-link"
href="https://oss.capital/?ref=hoppscotch" href="https://oss.capital/?ref=hoppscotch"
@@ -50,10 +47,7 @@
loading="lazy" loading="lazy"
></iframe> ></iframe>
</span> </span>
<span <span class="flex font-mono" style="align-items: start">
class="flex flex-col font-mono md:flex-row"
style="align-items: start"
>
<a href="mailto:support@hoppscotch.io" target="_blank" rel="noopener"> <a href="mailto:support@hoppscotch.io" target="_blank" rel="noopener">
<button v-tooltip="$t('contact_us')" class="icon"> <button v-tooltip="$t('contact_us')" class="icon">
<i class="material-icons">email</i> <i class="material-icons">email</i>
@@ -90,7 +84,6 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
.footer-link { .footer-link {
@apply inline-flex;
@apply flex-shrink-0; @apply flex-shrink-0;
@apply my-2; @apply my-2;
@apply mx-4; @apply mx-4;

View File

@@ -328,5 +328,4 @@ $responsiveWidth: 768px;
animation: slideIn 0.2s forwards ease-in-out; animation: slideIn 0.2s forwards ease-in-out;
} }
</style> </style>

View File

@@ -1,9 +1,6 @@
<template> <template>
<div class="flex flex-col"> <div class="flex flex-col">
<label <label>{{ $t("color") }}: {{ capitalized(active) }}</label>
>{{ $t("color") }}:
{{ capitalized(active) }}</label
>
<div> <div>
<!-- text-blue-400 --> <!-- text-blue-400 -->
<!-- text-green-400 --> <!-- text-green-400 -->
@@ -61,7 +58,6 @@ export default {
}, },
watch: { watch: {
active(color) { active(color) {
localStorage.setItem("THEME_COLOR", color) localStorage.setItem("THEME_COLOR", color)
}, },
}, },

View File

@@ -109,7 +109,7 @@ export default {
}, },
value(newValue) { value(newValue) {
this.text = newValue this.text = newValue
} },
}, },
mounted() { mounted() {

View File

@@ -32,7 +32,6 @@
border-collapseer-2 border-collapseer-2
text-fgLightColor text-fgLightColor
hover:text-fgColor hover:text-fgColor
hover:shadow-none
" "
:class="[ :class="[
{ 'bg-actColor': color === $colorMode.preference }, { 'bg-actColor': color === $colorMode.preference },