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

Fix search input styling in Safari (#2887)

* Fix search input styling in Safari
#fix https://github.com/FreshRSS/FreshRSS/issues/2885

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
kinoushe 6 лет назад
Родитель
Сommit
da67489df2
2 измененных файлов с 12 добавлено и 0 удалено
  1. 6 0
      p/themes/base-theme/template.css
  2. 6 0
      p/themes/base-theme/template.rtl.css

+ 6 - 0
p/themes/base-theme/template.css

@@ -572,6 +572,12 @@ a.btn {
 	width: 100px;
 }
 
+input[type="search"] {
+	/* stylelint-disable property-no-vendor-prefix */
+	-webkit-appearance: none;
+	/* stylelint-enable property-no-vendor-prefix */
+}
+
 /*=== Body */
 #global {
 	display: table;

+ 6 - 0
p/themes/base-theme/template.rtl.css

@@ -572,6 +572,12 @@ a.btn {
 	width: 100px;
 }
 
+input[type="search"] {
+	/* stylelint-disable property-no-vendor-prefix */
+	-webkit-appearance: none;
+	/* stylelint-enable property-no-vendor-prefix */
+}
+
 /*=== Body */
 #global {
 	display: table;