Suppression min-height: 0 par défaut

This commit is contained in:
Raphaël Goetter 2021-07-09 14:12:15 +02:00
parent cddc2d472a
commit 8e95e4cdd9
6 changed files with 6 additions and 8 deletions

View file

@ -1,5 +1,6 @@
# Changelog # Changelog
- 9 juillet 2021 ("8.0.5") : suppression min-height: 0 par défaut
- 26 avril 2021 : taille de base 100% (et non plus 62.5%) et corrections Grillade - 26 avril 2021 : taille de base 100% (et non plus 62.5%) et corrections Grillade
- 5 mars 2021 : les classes utilitaires font à présent partie du Core - 5 mars 2021 : les classes utilitaires font à présent partie du Core
- 26 novembre 2020 : Documentation + V1.0.0 - 26 novembre 2020 : Documentation + V1.0.0

View file

@ -10,7 +10,7 @@
/* ----------------------------- */ /* ----------------------------- */
/* /*
* 1. Switch to border-box model for all elements * 1. Switch to border-box model for all elements
* 2. Avoid min-width: auto and min-height: auto on flex and grid children * 2. Avoid min-width: auto on flex and grid items
*/ */
*, *,
*::before, *::before,
@ -19,8 +19,6 @@
/* 1 */ /* 1 */
min-width: 0; min-width: 0;
/* 2 */ /* 2 */
min-height: 0;
/* 2 */
} }
/* /*

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{ {
"name": "knacss", "name": "knacss",
"version": "8.0.4", "version": "8.0.5",
"homepage": "http://www.knacss.com/", "homepage": "http://www.knacss.com/",
"bugs": "https://github.com/alsacreations/KNACSS/issues", "bugs": "https://github.com/alsacreations/KNACSS/issues",
"author": "Raphaël GOETTER, Alsacreations (http://www.alsacreations.fr)", "author": "Raphaël GOETTER, Alsacreations (http://www.alsacreations.fr)",

View file

@ -4,7 +4,7 @@
/* /*
* 1. Switch to border-box model for all elements * 1. Switch to border-box model for all elements
* 2. Avoid min-width: auto and min-height: auto on flex and grid children * 2. Avoid min-width: auto on flex and grid items
*/ */
*, *,
@ -12,7 +12,6 @@
*::after { *::after {
box-sizing: border-box; /* 1 */ box-sizing: border-box; /* 1 */
min-width: 0; /* 2 */ min-width: 0; /* 2 */
min-height: 0; /* 2 */
} }
/* /*

View file

@ -1,7 +1,7 @@
/*! /*!
* KNACSS Reborn: Just keep it simple! * KNACSS Reborn: Just keep it simple!
* @author: Alsacreations * @author: Alsacreations
* v8.0.4 2021/04 * v8.0.5 2021/07
* Licence WTFPL http://www.wtfpl.net/ * Licence WTFPL http://www.wtfpl.net/
*/ */