File tree Expand file tree Collapse file tree 4 files changed +60
-24
lines changed
Expand file tree Collapse file tree 4 files changed +60
-24
lines changed Original file line number Diff line number Diff line change @@ -507,11 +507,20 @@ samp {
507507}
508508
509509/**
510- * Make replaced elements `display: block` by default as that's
511- * the behavior you want almost all of the time. Inspired by
512- * CSS Remedy, with `svg` added as well.
510+ * 1. Make replaced elements `display: block` by default as that's
511+ * the behavior you want almost all of the time. Inspired by
512+ * CSS Remedy, with `svg` added as well.
513513 *
514- * https://github.com/mozdevs/cssremedy/issues/14
514+ * https://github.com/mozdevs/cssremedy/issues/14
515+ *
516+ * 2. Add `vertical-align: middle` to align replaced elements more
517+ * sensibly by default when overriding `display` by adding a
518+ * utility like `inline`.
519+ *
520+ * This can trigger a poorly considered linting error in some
521+ * tools but is included by design.
522+ *
523+ * https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210
515524 */
516525
517526img,
@@ -522,8 +531,8 @@ audio,
522531iframe,
523532embed,
524533object {
525- display: block;
526- vertical-align: middle;
534+ display: block; /* 1 */
535+ vertical-align: middle; /* 2 */
527536}
528537
529538/**
Original file line number Diff line number Diff line change @@ -507,11 +507,20 @@ samp {
507507}
508508
509509/**
510- * Make replaced elements `display: block` by default as that's
511- * the behavior you want almost all of the time. Inspired by
512- * CSS Remedy, with `svg` added as well.
510+ * 1. Make replaced elements `display: block` by default as that's
511+ * the behavior you want almost all of the time. Inspired by
512+ * CSS Remedy, with `svg` added as well.
513513 *
514- * https://github.com/mozdevs/cssremedy/issues/14
514+ * https://github.com/mozdevs/cssremedy/issues/14
515+ *
516+ * 2. Add `vertical-align: middle` to align replaced elements more
517+ * sensibly by default when overriding `display` by adding a
518+ * utility like `inline`.
519+ *
520+ * This can trigger a poorly considered linting error in some
521+ * tools but is included by design.
522+ *
523+ * https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210
515524 */
516525
517526img,
@@ -522,8 +531,8 @@ audio,
522531iframe,
523532embed,
524533object {
525- display: block;
526- vertical-align: middle;
534+ display: block; /* 1 */
535+ vertical-align: middle; /* 2 */
527536}
528537
529538/**
Original file line number Diff line number Diff line change @@ -507,11 +507,20 @@ samp {
507507}
508508
509509/**
510- * Make replaced elements `display: block` by default as that's
511- * the behavior you want almost all of the time. Inspired by
512- * CSS Remedy, with `svg` added as well.
510+ * 1. Make replaced elements `display: block` by default as that's
511+ * the behavior you want almost all of the time. Inspired by
512+ * CSS Remedy, with `svg` added as well.
513513 *
514- * https://github.com/mozdevs/cssremedy/issues/14
514+ * https://github.com/mozdevs/cssremedy/issues/14
515+ *
516+ * 2. Add `vertical-align: middle` to align replaced elements more
517+ * sensibly by default when overriding `display` by adding a
518+ * utility like `inline`.
519+ *
520+ * This can trigger a poorly considered linting error in some
521+ * tools but is included by design.
522+ *
523+ * https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210
515524 */
516525
517526img,
@@ -522,8 +531,8 @@ audio,
522531iframe,
523532embed,
524533object {
525- display: block;
526- vertical-align: middle;
534+ display: block; /* 1 */
535+ vertical-align: middle; /* 2 */
527536}
528537
529538/**
Original file line number Diff line number Diff line change @@ -507,11 +507,20 @@ samp {
507507}
508508
509509/**
510- * Make replaced elements `display: block` by default as that's
511- * the behavior you want almost all of the time. Inspired by
512- * CSS Remedy, with `svg` added as well.
510+ * 1. Make replaced elements `display: block` by default as that's
511+ * the behavior you want almost all of the time. Inspired by
512+ * CSS Remedy, with `svg` added as well.
513513 *
514- * https://github.com/mozdevs/cssremedy/issues/14
514+ * https://github.com/mozdevs/cssremedy/issues/14
515+ *
516+ * 2. Add `vertical-align: middle` to align replaced elements more
517+ * sensibly by default when overriding `display` by adding a
518+ * utility like `inline`.
519+ *
520+ * This can trigger a poorly considered linting error in some
521+ * tools but is included by design.
522+ *
523+ * https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210
515524 */
516525
517526img,
@@ -522,8 +531,8 @@ audio,
522531iframe,
523532embed,
524533object {
525- display: block;
526- vertical-align: middle;
534+ display: block; /* 1 */
535+ vertical-align: middle; /* 2 */
527536}
528537
529538/**
You can’t perform that action at this time.
0 commit comments