Fix editor selection toolbar
This commit is contained in:
		
							parent
							
								
									a8fdecd74c
								
							
						
					
					
						commit
						4f432f526a
					
				| 
						 | 
				
			
			@ -10,7 +10,7 @@ main {
 | 
			
		|||
    border: solid 1px var(--color-text);
 | 
			
		||||
    padding: 2rem;
 | 
			
		||||
    min-block-size: 80%;
 | 
			
		||||
    display: flex;
 | 
			
		||||
    /* display: flex; */
 | 
			
		||||
    flex-direction: column;
 | 
			
		||||
    align-items: stretch;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -91,7 +91,6 @@ main {
 | 
			
		|||
 | 
			
		||||
@media all and (max-width: 650px) {
 | 
			
		||||
    .ce-toolbar__actions {
 | 
			
		||||
 | 
			
		||||
        &>*:nth-child(1),
 | 
			
		||||
        &>*:nth-child(2) {
 | 
			
		||||
            border-radius: 0;
 | 
			
		||||
| 
						 | 
				
			
			@ -141,9 +140,12 @@ main {
 | 
			
		|||
    gap: var(--default-padding);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
* {
 | 
			
		||||
   border-radius: 0 !important; 
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.ce-block__content {
 | 
			
		||||
    word-wrap: break-word;
 | 
			
		||||
    display: contents;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.ce-block {
 | 
			
		||||
| 
						 | 
				
			
			@ -156,10 +158,6 @@ main {
 | 
			
		|||
    padding-block: 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.codex-editor--narrow {
 | 
			
		||||
    /* margin-inline-end: -50px !important; */
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.codex-editor {
 | 
			
		||||
    &>*:first-child {
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -181,7 +179,6 @@ main {
 | 
			
		|||
 | 
			
		||||
.ce-paragraph {
 | 
			
		||||
    font-size: calc(var(--font-size) * 1.3);
 | 
			
		||||
    /* margin-block: calc(var(--font-size) * 2.6); */
 | 
			
		||||
    line-height: calc(var(--font-size) * 2);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue