From 0422288fd995aee2c3b676d9fd1d9bcc67416aa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Fri, 5 Feb 2021 12:49:08 +0100 Subject: [PATCH] some fixes --- .eslintrc.js | 1 + docs/src/components/Btn/style.scss | 4 ++++ docs/src/components/LogoItem/index.vue | 5 +++++ docs/src/components/PageFooter/index.vue | 8 +++++--- docs/src/pages/index.vue | 16 +++++----------- 5 files changed, 20 insertions(+), 14 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index cb2a1bdf..97f54748 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -55,6 +55,7 @@ module.exports = { allowFirstLine: false, }, }], + 'vue/singleline-html-element-content-newline': 'off', 'no-param-reassign': 'off', 'import/prefer-default-export': 'off', 'consistent-return': 'off', diff --git a/docs/src/components/Btn/style.scss b/docs/src/components/Btn/style.scss index fb6e9779..39b54648 100644 --- a/docs/src/components/Btn/style.scss +++ b/docs/src/components/Btn/style.scss @@ -41,6 +41,10 @@ opacity: 0.3; } + &--tertiary:hover &__icon { + opacity: 1; + } + &__icon { &:first-child { margin-right: 0.5rem; diff --git a/docs/src/components/LogoItem/index.vue b/docs/src/components/LogoItem/index.vue index 3ae515aa..23ac06e8 100644 --- a/docs/src/components/LogoItem/index.vue +++ b/docs/src/components/LogoItem/index.vue @@ -44,6 +44,7 @@ export default { flex-direction: column; align-items: center; background-color: rgba($colorBlack, 0.03); + border: 3px solid transparent; border-radius: 0.75rem; padding: 1.5rem; margin-bottom: 1rem; @@ -57,5 +58,9 @@ export default { white-space: nowrap; font-size: 0.85rem; } + + &:hover { + border-color: $colorBlack; + } } diff --git a/docs/src/components/PageFooter/index.vue b/docs/src/components/PageFooter/index.vue index 3eaa22ff..70110f30 100644 --- a/docs/src/components/PageFooter/index.vue +++ b/docs/src/components/PageFooter/index.vue @@ -80,7 +80,9 @@ @@ -93,9 +95,9 @@ diff --git a/docs/src/pages/index.vue b/docs/src/pages/index.vue index 2f5e15c4..1ea3b3b9 100644 --- a/docs/src/pages/index.vue +++ b/docs/src/pages/index.vue @@ -49,9 +49,7 @@ Framework-agnostic

- No matter what framework you use, you’ll enjoy tiptap. Out of the box, it works with plain JavaScript and Vue.js, but it’s also possible to use it in - React - , Svelte and others. + No matter what framework you use, you’ll enjoy tiptap. Out of the box, it works with plain JavaScript and Vue.js, but it’s also possible to use it in React, Svelte and others.

@@ -79,9 +77,7 @@ Collaborative

- Real-time collaboration, syncing between different devices and working offline used to be hard. We provide everything you need to keep everything in sync, conflict-free with the power of - Y.js - . Our production-grade setup requires less than 20 lines of code. + Real-time collaboration, syncing between different devices and working offline used to be hard. We provide everything you need to keep everything in sync, conflict-free with the power of Y.js. Our production-grade setup requires less than 20 lines of code.

@@ -132,7 +128,7 @@ </html>
- + Learn More
@@ -192,7 +188,7 @@ /> -->
- + And Many More
@@ -205,9 +201,7 @@ License

- tiptap is licensed under MIT, so you are free to do whatever you want. If you are using it commercially, do the right thing and - become one of our wonderful sponsors - to fund the maintenance, support and development of tiptap now and in the future. That’s all we ask for. + tiptap is licensed under MIT, so you are free to do whatever you want. If you are using it commercially, do the right thing and become one of our wonderful sponsors to fund the maintenance, support and development of tiptap now and in the future. That’s all we ask for.