8
0
Просмотр исходного кода

Copy-paste CSS styles for dimensions row in table cell properties view.

Maciej Gołaszewski 6 лет назад
Родитель
Сommit
5407fd0641

+ 22 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-table/tablecellproperties.css

@@ -17,5 +17,27 @@
 				background: none;
 			}
 		}
+
+		&.ck-table-cell-properties-form__dimensions-row {
+			& .ck-labeled-view > .ck-label {
+				font-size: 10px;
+			}
+
+			& .ck-table-cell-properties-form__width {
+				margin-right: var(--ck-spacing-small);
+			}
+
+			& .ck-table-cell-properties-form__dimension-operator {
+				margin: 0;
+				align-self: start;
+				display: inline-block;
+				height: var(--ck-ui-component-min-height);
+				line-height: var(--ck-ui-component-min-height);
+			}
+
+			& .ck-table-cell-properties-form__height {
+				margin-left: var(--ck-spacing-small);
+			}
+		}
 	}
 }