소스 검색

fix: Fix .stick class for older Webkit versions (#2995)

It looks like inputs had a light margin on older Webkit versions, making
the inputs slightly smaller than buttons in a .stick container.

Reference: https://github.com/FreshRSS/FreshRSS/pull/2938#issuecomment-632429861
Marien Fressinaud 6 년 전
부모
커밋
a0f6e66e28
4개의 변경된 파일20개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      p/themes/Alternative-Dark/template.css
  2. 5 0
      p/themes/Alternative-Dark/template.rtl.css
  3. 5 0
      p/themes/base-theme/template.css
  4. 5 0
      p/themes/base-theme/template.rtl.css

+ 5 - 0
p/themes/Alternative-Dark/template.css

@@ -220,6 +220,11 @@ td.numeric {
 	white-space: nowrap;
 }
 
+.stick > input {
+	margin-top: 0;
+	margin-bottom: 0;
+}
+
 .stick > input.long {
 	flex-shrink: 1;
 }

+ 5 - 0
p/themes/Alternative-Dark/template.rtl.css

@@ -220,6 +220,11 @@ td.numeric {
 	white-space: nowrap;
 }
 
+.stick > input {
+	margin-top: 0;
+	margin-bottom: 0;
+}
+
 .stick > input.long {
 	flex-shrink: 1;
 }

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

@@ -225,6 +225,11 @@ td.numeric {
 	white-space: nowrap;
 }
 
+.stick > input {
+	margin-top: 0;
+	margin-bottom: 0;
+}
+
 .stick > input.long {
 	flex-shrink: 1;
 }

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

@@ -225,6 +225,11 @@ td.numeric {
 	white-space: nowrap;
 }
 
+.stick > input {
+	margin-top: 0;
+	margin-bottom: 0;
+}
+
 .stick > input.long {
 	flex-shrink: 1;
 }