move suggestions menu item
This commit is contained in:
@@ -223,8 +223,15 @@ export default {
|
|||||||
&__item {
|
&__item {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding: 0.2rem 0.5rem;
|
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);
|
background-color: rgba($color-white, 0.2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,6 +61,13 @@ const routes = [
|
|||||||
githubUrl: 'https://github.com/heyscrumpy/tiptap/tree/master/examples/Components/Routes/TodoList',
|
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',
|
path: '/markdown-shortcuts',
|
||||||
component: () => import('Components/Routes/MarkdownShortcuts'),
|
component: () => import('Components/Routes/MarkdownShortcuts'),
|
||||||
@@ -89,13 +96,6 @@ const routes = [
|
|||||||
githubUrl: 'https://github.com/heyscrumpy/tiptap/tree/master/examples/Components/Routes/Embeds',
|
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',
|
path: '/placeholder',
|
||||||
component: () => import('Components/Routes/Placeholder'),
|
component: () => import('Components/Routes/Placeholder'),
|
||||||
|
|||||||
Reference in New Issue
Block a user