fix: scss import

This commit is contained in:
Barış Soner Uşaklı 2024-11-21 17:36:48 -05:00
parent 9bb5a5afb4
commit 6cb6fcdf63
4 changed files with 2 additions and 75 deletions

View file

@ -1,50 +0,0 @@
.composer {
.formatting-bar {
display: none;
}

.write-container {
display: block;
margin-bottom: 1.5rem;
min-width: 0px; // fixes negation of overflow-wrap due this being a flex-item

textarea {
display: none;
}

.ql-container {
height: ~"calc(100% - 42px)";
}
}
}

.ql-toolbar {
.fa-stack {
line-height: inherit;
left: -0.25em;
}

.ql-upload .fa-arrow-up {
font-size: 0.5em;
top: 6px;
left: -0.5px;
}
}

/* Safari bug.. */
.composer {
-webkit-user-select: initial;
}

[component="chat/composer"] {
> div {
border: 1px solid @gray-lighter;
flex: 1;
height: 52px;
min-width: 50%; // wut... https://stackoverflow.com/a/36150764/122353
}

[component="chat/input"] {
display: none;
}
}

View file

@ -1,19 +0,0 @@
[component="post/content"], [component="chat/messages"] {
.ql-align-center {
text-align: center;
}
.ql-align-right {
text-align: right;
}
.ql-align-justify {
text-align: justify;
}

// Fonts
.ql-font-serif {
font-family: Georgia, "Times New Roman", serif;
}
.ql-font-monospace {
font-family: Monaco, "Courier New", monospace;
}
}

View file

@ -1,2 +0,0 @@
@import (inline) './quill/dist/quill.snow.css';
@import (inline) './quill/dist/quill.bubble.css';

View file

@ -1,4 +1,2 @@
// @import './quill/dist/quill.snow'; @import 'quill/dist/quill.snow';
// @import './quill/dist/quill.bubble'; @import 'quill/dist/quill.bubble';
@import 'nodebb-plugin-composer-quill/node_modules/quill/dist/quill.snow';
@import 'nodebb-plugin-composer-quill/node_modules/quill/dist/quill.bubble';