summaryrefslogtreecommitdiffstats
path: root/browser/extensions/webcompat/injections/css/bug1654877-preev.com-moz-appearance-fix.css
blob: b13c3052f329baa4446e9076fc3481717dbdf746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/**
 * preev.com - typed numbers are not fully visible
 * Bug #1654877 - https://bugzilla.mozilla.org/show_bug.cgi?id=1654877
 * WebCompat issue #55099 - https://webcompat.com/issues/55099
 *
 * It's hard to see the entered number because the spin button is
 * taking too much space. While there is -moz-appearance: textfield,
 * -webkit-appearance: none; underneath supersedes it,
 * leaving the spin button visible. Adding -moz-appearance: textfield;
 * as a separate rule fixes the issue
 */
input[type="number"],
input[type="text"] {
  -moz-appearance: textfield;
}