Comments (3)
Understood, we can add display: inline-block
to Icon.
from thaw.
I feel that the behavior of Icon is the same as that of inline-block. Why add it? Can you give me an example?
from thaw.
I'm using tailwindcss in my project with Thaw, and the css reset for tailwind sets svg { display: block; }
. But whenever I use Thaw icons, I always need to add class="inline-block"
to fix the icons due to the reset. I'm quite sure many other people would use tailwind with Thaw and have the same issue
from thaw.
Related Issues (20)
- `Select` and `Button` should have matching heights HOT 1
- Select component inline-block
- Building thaw with latest leptos and rust does not work HOT 4
- Default button should not be primary HOT 2
- Theme flashing issue. HOT 2
- Add on_toggle to Switch control
- Message icon missalingment HOT 2
- Image object fit not working as expected
- Theme mode should be done with classes/attributes HOT 1
- Closing Tab HOT 1
- Any plan to add icon prop to MenuItem?
- Allow label from Autocomplete to be any type that impl IntoView HOT 2
- Any plan to make MenuGroup collapsible?
- Layout component issue HOT 2
- Drawer stops page scrolling.
- Select does not support groups. HOT 1
- Roadmap: v0.4
- why not ant design ? 😂 HOT 1
- Thaw Demo looks broken on Linux: system fonts are not used HOT 3
- missing attrs on Checkbox, Combobox and possibly few other components
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thaw.