mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-22 22:09:22 -05:00
An easy to use leptos component library
9259bdc723
* Hi @luoxiaozero,
I've just noticed the same issue as described here (https://github.com/thaw-ui/thaw/issues/190) and tracked it down to tailwindcss. In the output.css generated by it we have:
```
/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
This can trigger a poorly considered lint error in some tools but is included by design.
*/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
display: block;
/* 1 */
vertical-align: middle;
/* 2 */
}
```
Your recent change sets the display to inline-block (
|
||
---|---|---|
.github/workflows | ||
demo | ||
demo_markdown | ||
examples/ssr_axum | ||
thaw | ||
thaw_components | ||
thaw_utils | ||
.gitignore | ||
Cargo.toml | ||
CHANGELOG.md | ||
leptosfmt.toml | ||
LICENSE | ||
logo.svg | ||
README.md |