Comments (9)
Hi @mohamm-ad, thanks for letting us know, we will investigate asap! In the meantime, you can harmonize the heights via className
customization: Try to insert [&>button]:h-9
for example.
from tremor.
Amazing @christopherkindl! And good call, that fix worked! Any suggested workarounds for styling the search in MultiSelect?
from tremor.
@mohamm-ad you are welcome! :) What do you want to style exactly?
from tremor.
When styling MultiSelect + MultiSelectItem, changes with Tailwind are reflected correctly across the component except for in the search area. For example, in the image above I applied text-xs to both, which works fine except for search (where text stays the default size). Apologies if I'm missing something!
from tremor.
Hey @mohamm-ad, I my tests, they seem all seem to have the same height. Can you post a screenshot of your example?
from tremor.
Ad text: Why don't use use the Theme in the tremor config? You could easily overwrite tremor-default
to your liking
fontSize: {
"tremor-label": ["0.75rem"],
"tremor-default": ["0.875rem", { lineHeight: "1.25rem" }],
"tremor-title": ["1.125rem", { lineHeight: "1.75rem" }],
"tremor-metric": ["1.875rem", { lineHeight: "2.25rem" }],
},
from tremor.
Interesting! I'm not quite sure what's going on in mine, I haven't made any changes:
Yep, when you adjust the default text size, the search text adjusts accordingly as intended. But for this particular use case, I needed to adjust the placeholder and item size to be different from the default -- that worked fine with tailwind, but i wasn't able to change the search placeholder text.
from tremor.
Alright, the select on the left is too small. Its the Select or Multiselect? I am having a hard time replicating your issue. Could you share a minimal reproduction? @mohamm-ad
from tremor.
@mohamm-ad Can I close this issue from your side?
from tremor.
Related Issues (20)
- [Bug]: When Tooltip overlaps on surrounding charts, the zindex seems to be too low HOT 1
- [Bug]: The selected elements don't change their background color HOT 1
- BarList aligment HOT 5
- [Feature]: Progree bar color and background color HOT 1
- [Bug]: Select does not apply error styling in dark mode HOT 3
- [Bug]: TabGroup doesn't follow the colours defined in tailwind.config.ts HOT 8
- [Feature]: React 19 support HOT 1
- [Bug]: Legend component fails to render with 23 or more categories HOT 1
- [Feature]: Stacked Funnel Chart HOT 3
- [Feature]: Value Formatter for x-axis
- [Feature]: Padding for x axis
- [Feature]: Progress Circle with different color by sector HOT 1
- [Feature]: Add option to make the highlighted area a click target in a bar chart
- [Bug]: DateRangePicker z-index can't be changed HOT 1
- Barchart with Rounded Corners HOT 3
- Multiple charts on one plot
- [Bug]: Tremor Tabs not defaulting to value HOT 3
- [Question]: How can I increase the thickness of the donuts pie charts ? HOT 1
- [Feature]: adding phone input
- [Bug]: Scatter chart x axis label is truncated (below the line height)
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 tremor.