瀏覽代碼

Adjusted border style of the focused editor in the inline editor example.

Aleksander Nowodzinski 8 年之前
父節點
當前提交
01febd2688
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      docs/assets/snippet-styles.css

+ 4 - 0
docs/assets/snippet-styles.css

@@ -45,8 +45,12 @@
 #snippet-inline-editor .ck-editor__editable {
 	margin-bottom: 1rem;
 	padding: 2rem;
+}
+
+#snippet-inline-editor .ck-editor__editable:not(.ck-focused) {
 	border: 1px solid rgba(0, 0, 0, 0.15);
 }
+
 #snippet-inline-editor h2, #snippet-inline-editor h3 {
 	margin-top: 0;
 	padding-top: 0;