Make checkbox/radio alignment on Firefox consistent with Webkit

pull/4705/head^2
Matt Westcott 2018-06-14 12:56:14 +01:00
rodzic 3d4055e465
commit bb8df218e5
3 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -31,6 +31,7 @@ Changelog
* Fix: Null characters in URLs no longer crash the redirect middleware on PostgreSQL (Andrew Crewdson, Matt Westcott) * Fix: Null characters in URLs no longer crash the redirect middleware on PostgreSQL (Andrew Crewdson, Matt Westcott)
* Fix: Permission checks no longer prevent a non-live page from being unscheduled (Abdulmalik Abdulwahab) * Fix: Permission checks no longer prevent a non-live page from being unscheduled (Abdulmalik Abdulwahab)
* Fix: Copy-paste between Draftail editors now preserves all formatting/content (Thibaud Colas) * Fix: Copy-paste between Draftail editors now preserves all formatting/content (Thibaud Colas)
* Fix: Fix alignment of checkboxes and radio buttons on Firefox (Matt Westcott)
2.1.1 (04.07.2018) 2.1.1 (04.07.2018)

Wyświetl plik

@ -44,6 +44,7 @@ Bug fixes
* Null characters in URLs no longer crash the redirect middleware on PostgreSQL (Andrew Crewdson, Matt Westcott) * Null characters in URLs no longer crash the redirect middleware on PostgreSQL (Andrew Crewdson, Matt Westcott)
* Permission checks no longer prevent a non-live page from being unscheduled (Abdulmalik Abdulwahab) * Permission checks no longer prevent a non-live page from being unscheduled (Abdulmalik Abdulwahab)
* Copy-paste between Draftail editors now preserves all formatting/content (Thibaud Colas) * Copy-paste between Draftail editors now preserves all formatting/content (Thibaud Colas)
* Fix alignment of checkboxes and radio buttons on Firefox (Matt Westcott)
Upgrade considerations Upgrade considerations
====================== ======================

Wyświetl plik

@ -140,11 +140,10 @@ input[type=checkbox] {
} }
input[type=radio] { input[type=radio] {
// stylelint-disable-next-line property-no-vendor-prefix height: 12px;
-webkit-appearance: radio;
width: auto; width: auto;
position: relative; position: relative;
margin-right: 15px; margin-right: 27px;
} }
input[type=radio]:before { input[type=radio]:before {
@ -173,11 +172,10 @@ input[type=radio]:checked:before {
} }
input[type=checkbox] { input[type=checkbox] {
// stylelint-disable-next-line property-no-vendor-prefix height: 12px;
-webkit-appearance: checkbox;
width: auto; width: auto;
position: relative; position: relative;
margin-right: 15px; margin-right: 27px;
} }
input[type=checkbox]:before { input[type=checkbox]:before {