refac: styling
This commit is contained in:
+11
@@ -401,6 +401,17 @@ input[type='number'] {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tiptap .mention {
|
||||||
|
border-radius: 0.4rem;
|
||||||
|
box-decoration-break: clone;
|
||||||
|
padding: 0.1rem 0.3rem;
|
||||||
|
@apply text-blue-900 dark:text-blue-100 bg-blue-300/20 dark:bg-blue-500/20;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tiptap .mention::after {
|
||||||
|
content: '\200B';
|
||||||
|
}
|
||||||
|
|
||||||
.input-prose .tiptap ul[data-type='taskList'] {
|
.input-prose .tiptap ul[data-type='taskList'] {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
|||||||
@@ -967,6 +967,12 @@
|
|||||||
Highlight,
|
Highlight,
|
||||||
Typography,
|
Typography,
|
||||||
|
|
||||||
|
Mention.configure({
|
||||||
|
HTMLAttributes: {
|
||||||
|
class: 'mention'
|
||||||
|
}
|
||||||
|
}),
|
||||||
|
|
||||||
TableKit.configure({
|
TableKit.configure({
|
||||||
table: { resizable: true }
|
table: { resizable: true }
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -498,7 +498,7 @@
|
|||||||
: ''} py-2 px-1.5 flex flex-col justify-between text-black dark:text-white h-full border-e border-gray-50 dark:border-gray-850"
|
: ''} py-2 px-1.5 flex flex-col justify-between text-black dark:text-white h-full border-e border-gray-50 dark:border-gray-850"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="flex flex-col flex-1"
|
class="flex flex-col flex-1 cursor-[e-resize]"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
showSidebar.set(!$showSidebar);
|
showSidebar.set(!$showSidebar);
|
||||||
}}
|
}}
|
||||||
@@ -506,7 +506,7 @@
|
|||||||
<div class="pb-1.5">
|
<div class="pb-1.5">
|
||||||
<Tooltip content={$showSidebar ? $i18n.t('Close Sidebar') : $i18n.t('Open Sidebar')}>
|
<Tooltip content={$showSidebar ? $i18n.t('Close Sidebar') : $i18n.t('Open Sidebar')}>
|
||||||
<button
|
<button
|
||||||
class=" cursor-pointer flex rounded-lg hover:bg-gray-100 dark:hover:bg-gray-850 transition group"
|
class=" flex rounded-lg hover:bg-gray-100 dark:hover:bg-gray-850 transition group cursor-[e-resize]"
|
||||||
>
|
>
|
||||||
<div class=" self-center flex items-center justify-center size-9">
|
<div class=" self-center flex items-center justify-center size-9">
|
||||||
<img
|
<img
|
||||||
@@ -712,7 +712,7 @@
|
|||||||
</a>
|
</a>
|
||||||
<Tooltip content={$showSidebar ? $i18n.t('Close Sidebar') : $i18n.t('Open Sidebar')}>
|
<Tooltip content={$showSidebar ? $i18n.t('Close Sidebar') : $i18n.t('Open Sidebar')}>
|
||||||
<button
|
<button
|
||||||
class=" cursor-pointer flex rounded-lg hover:bg-gray-100 dark:hover:bg-gray-850 transition cursor-"
|
class=" flex rounded-lg hover:bg-gray-100 dark:hover:bg-gray-850 transition cursor-[w-resize]"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
showSidebar.set(!$showSidebar);
|
showSidebar.set(!$showSidebar);
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user