Skip to content
Snippets Groups Projects
Commit d22595d5 authored by rhenck's avatar rhenck
Browse files

[editor] TextEditor: Improve styling

parent 1dea8f1f
No related branches found
No related tags found
No related merge requests found
...@@ -11,14 +11,14 @@ tiptap-editor { ...@@ -11,14 +11,14 @@ tiptap-editor {
:host ::ng-deep div.ProseMirror { :host ::ng-deep div.ProseMirror {
width: 100%; width: 100%;
margin: 10px; margin: 1px 1px 10px 1px;
overflow: scroll; overflow: scroll;
border: 1px solid gray; border: 1px solid gray;
max-width: 1000px; max-width: 1000px;
padding: 5px;
} }
.editor-control-panel { .editor-control-panel {
margin-bottom: 15px;
padding: 5px; padding: 5px;
font: unset; font: unset;
max-width: 1000px; max-width: 1000px;
...@@ -27,6 +27,8 @@ tiptap-editor { ...@@ -27,6 +27,8 @@ tiptap-editor {
flex-wrap: wrap; flex-wrap: wrap;
background: linear-gradient(to top right, #FFF5F8, #FAFAFA); background: linear-gradient(to top right, #FFF5F8, #FAFAFA);
box-shadow: 0 2px 2px -2px rgba(34,47,62,.1),0 8px 8px -4px rgba(34,47,62,.07); box-shadow: 0 2px 2px -2px rgba(34,47,62,.1),0 8px 8px -4px rgba(34,47,62,.07);
border-top-right-radius: 4px;
border-top-left-radius: 4px;
} }
.editor-control-panel .input-group { .editor-control-panel .input-group {
...@@ -37,12 +39,12 @@ tiptap-editor { ...@@ -37,12 +39,12 @@ tiptap-editor {
padding: 0.3em 0 0.7em 0; padding: 0.3em 0 0.7em 0;
} }
.editor-control-panel .input-group .dropdown { .editor-control-panel .input-group .dropdown {
width: 95px; width: 95px;
height: 40px; height: 40px;
margin: 0 5px; margin: 0 5px;
} }
// ### Adjust Material select ### // ### Adjust Material select ###
:host ::ng-deep .editor-control-panel .input-group .dropdown .mat-mdc-text-field-wrapper { :host ::ng-deep .editor-control-panel .input-group .dropdown .mat-mdc-text-field-wrapper {
max-height: 100%; max-height: 100%;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment