move suggestions menu item

This commit is contained in:
Philipp Kühn
2018-09-29 09:40:36 +02:00
parent 4447e9845e
commit c9158e0cec
2 changed files with 15 additions and 8 deletions

View File

@@ -223,8 +223,15 @@ export default {
&__item {
border-radius: 5px;
padding: 0.2rem 0.5rem;
margin-bottom: 0.2rem;
cursor: pointer;
&.is-selected {
&:last-child {
margin-bottom: 0;
}
&.is-selected,
&:hover {
background-color: rgba($color-white, 0.2);
}
}

View File

@@ -61,6 +61,13 @@ const routes = [
githubUrl: 'https://github.com/heyscrumpy/tiptap/tree/master/examples/Components/Routes/TodoList',
},
},
{
path: '/suggestions',
component: () => import('Components/Routes/Suggestions'),
meta: {
githubUrl: 'https://github.com/heyscrumpy/tiptap/tree/master/examples/Components/Routes/Suggestions',
},
},
{
path: '/markdown-shortcuts',
component: () => import('Components/Routes/MarkdownShortcuts'),
@@ -89,13 +96,6 @@ const routes = [
githubUrl: 'https://github.com/heyscrumpy/tiptap/tree/master/examples/Components/Routes/Embeds',
},
},
{
path: '/suggestions',
component: () => import('Components/Routes/Suggestions'),
meta: {
githubUrl: 'https://github.com/heyscrumpy/tiptap/tree/master/examples/Components/Routes/Suggestions',
},
},
{
path: '/placeholder',
component: () => import('Components/Routes/Placeholder'),