浏览代码

Merge pull request #201 from ckeditor/t/ckeditor5-ui/443

Fix: Removed the initial transform property of the text input with an error to allow the shake animation in Safari. Closes ckeditor/ckeditor5-ui#443.
Aleksander Nowodzinski 7 年之前
父节点
当前提交
b9c9925b11
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/inputtext/inputtext.css

+ 0 - 1
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/inputtext/inputtext.css

@@ -46,7 +46,6 @@
 	&.ck-error {
 		border-color: var(--ck-color-input-error-border);
 		animation: ck-text-input-shake .3s ease both;
-		transform: translateX(0);
 
 		&:focus {
 			@mixin ck-box-shadow var(--ck-focus-error-outer-shadow), var(--ck-inner-shadow);