Przeglądaj źródła

Internal: Adjusted the specificity of the link UI styles to display correctly in all environments. Closes ckeditor/ckeditor5-link#232.

Aleksander Nowodzinski 6 lat temu
rodzic
commit
4f926442f2

+ 6 - 5
packages/ckeditor5-theme-lark/theme/ckeditor5-link/linkform.css

@@ -79,13 +79,14 @@
 	/* Using additional `.ck` class for stronger CSS specificity than `.ck.ck-link-form > :not(:first-child)`. */
 	& .ck.ck-list {
 		margin-left: 0;
-	}
 
-	& .ck-list .ck-button.ck-switchbutton {
-		border: 0;
+		& .ck-button.ck-switchbutton {
+			border: 0;
+			width: 100%;
 
-		&:hover {
-			background: none;
+			&:hover {
+				background: none;
+			}
 		}
 	}
 }