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

View File

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

View File

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

View File

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

View File

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