cleanup css

This commit is contained in:
Marco Crapts
2023-05-22 10:58:29 +02:00
parent 24dc9482da
commit d45ceb9b41
2 changed files with 13 additions and 12 deletions

View File

@@ -181,14 +181,3 @@ const createLink = (link: string) => {
/> />
</div> </div>
</template> </template>
<style>
.ck-content {
padding: 0 !important;
border: 0 !important;
outline: none !important;
box-shadow: none !important;
}
.ck-content a[data-contexted-link='true'] {
@apply cursor-pointer font-semibold text-primary hover:bg-gray-200;
}
</style>

View File

@@ -22,7 +22,9 @@ body {
p:not(:last-child) { p:not(:last-child) {
@apply mb-2; @apply mb-2;
margin-top: 0 !important; margin-top: 0 !important;
// margin-block: 0; }
p:last-child {
@apply my-0;
} }
.btn { .btn {
@@ -34,7 +36,17 @@ p:not(:last-child) {
} }
.ck-content { .ck-content {
padding: 0 !important;
border: 0 !important;
outline: none !important;
box-shadow: none !important;
line-height: 2rem; line-height: 2rem;
a[data-contexted-link='true'] {
@apply cursor-pointer font-semibold text-primary hover:bg-gray-200;
}
&.ck.ck-editor__editable_inline > * {
margin: 0!important;
}
ol, ol,
ul { ul {
@apply my-2 ps-8; @apply my-2 ps-8;