1
0
mirror of https://github.com/Chalarangelo/mini.css.git synced 2025-08-19 04:01:18 +02:00

Fixed a minor bug with checkboxes and radios

Should now be able to use :disabled, as well as [disabled].
This commit is contained in:
Angelos Chalaris
2017-06-05 18:56:39 +03:00
parent 568aea95b4
commit fb3b8e20d1
4 changed files with 9 additions and 4 deletions

View File

@@ -1214,3 +1214,4 @@
- Updated `tab` selectors to use new, *loose* definitions, effectively making the module `0.04KB` lighter. Not a huge difference, but good enough due to the maintenance impact it has on the module, plus the consistency fixed for `.stacked`.
- Moved `input_control`'s `disabled` styling to low-specificity behind the existing flag, saved another `0.05KB`, which is quite a big change. Parsing should also be faster than before. Good catch, **hugging cat**!
- Lowered specificity of selectors used in `.button-group` for styling `border`s, cut off another `0.02KB`.
- Added styling for `:disabled` on `checkbox` and `radio`, pushed the size back up a little bit.