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

Adjusted width of the link actions preview to match the input in the editing form.

Aleksander Nowodzinski 8 лет назад
Родитель
Сommit
9202986f7a

+ 6 - 3
packages/ckeditor5-theme-lark/theme/ckeditor5-link/linkactions.css

@@ -13,11 +13,14 @@
 	& .ck-link-actions__preview {
 		color: var(--ck-color-link-default);
 		text-overflow: ellipsis;
-		max-width: 20em;
-		min-width: 3em;
-		margin: 0 var(--ck-spacing-standard);
 		cursor: pointer;
 
+		/* Match the box model of the link editor form's input so the balloon
+		does not change width when moving between actions and the form. */
+		padding: 0 var(--ck-spacing-medium);
+		max-width: 18em;
+		min-width: 3em;
+
 		&:hover {
 			text-decoration: underline;
 		}