Browse Source

fix(WecomCenter): select boxes clipped to a thin line by Zabbix theme height:24px; give select.wc-input explicit height/padding

DSH Agent 3 days ago
parent
commit
3c535409cf
1 changed files with 10 additions and 1 deletions
  1. 10 1
      web-modules/WecomCenter/assets/wecom.center.css

+ 10 - 1
web-modules/WecomCenter/assets/wecom.center.css

@@ -49,7 +49,16 @@
 }
 .wc-input:focus { outline: none; border-color: #2f6fdd; box-shadow: 0 0 0 3px rgba(47,111,221,.15); }
 .wc-input--mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
-select.wc-input { appearance: auto; }
+select.wc-input {
+	appearance: auto;
+	height: 36px;
+	line-height: 1.4;
+	padding: 6px 10px;
+	font-family: inherit;
+	font-size: 13px;
+	vertical-align: middle;
+}
+select.wc-input option { color: #1f2c33; }
 
 /* buttons */
 .wc-btn {