瀏覽代碼

Fix: The URL input should span the width of the balloon.

Aleksander Nowodzinski 8 年之前
父節點
當前提交
74974f3ee3
共有 1 個文件被更改,包括 13 次插入3 次删除
  1. 13 3
      packages/ckeditor5-link/theme/components/linkform.scss

+ 13 - 3
packages/ckeditor5-link/theme/components/linkform.scss

@@ -13,6 +13,11 @@
 			outline: none;
 		}
 
+		.ck-input-text {
+			// https://github.com/ckeditor/ckeditor5-link/issues/145
+			width: 100%;
+		}
+
 		.ck-label {
 			margin-bottom: ck-spacing( 'tiny' );
 		}
@@ -24,12 +29,17 @@
 			.ck-button {
 				float: right;
 
+				// "Save" and "Cancel" buttons.
 				& + .ck-button {
 					margin-right: ck-spacing( 'medium' );
+				}
+
+				// The "Unlink" button.
+				&:last-child {
+					float: left;
 
-					& + .ck-button {
-						float: left;
-					}
+					// https://github.com/ckeditor/ckeditor5-link/issues/145
+					margin-right: 4 * ck-spacing( 'medium' );
 				}
 			}
 		}