Blazored / Typeahead

Typeahead control for Blazor applications
https://blazored.github.io/Typeahead/
MIT License
437 stars 103 forks source link

[Feature Request] Any Chance to support some css frameworks? #145

Open arivera12 opened 4 years ago

arivera12 commented 4 years ago

Is there any chance to support some css frameworks like bootstrap?

Maybe we could have a enum called Skin with a enum of the supported css frameworks and apply them internally.

public enum TypeaheadSkin
{
   Standalone,
   Bootstrap
}
chrissainty commented 4 years ago

I think this is something we should enable/support.

This will need some design work though. I'm thinking about a overhaul of the Typeahead so I wouldn't want this to be done ahead of that. I'll add a tracking isssue for that work ASAP.

mivandoni commented 3 years ago

This means that at the moment there's no way to reduce the font of the control to small (form-control-sm)? Do you have an idea on when you will release this update?

chrissainty commented 3 years ago

@mivandoni You can do that with some custom CSS.

mivandoni commented 3 years ago

@mivandoni You can do that with some custom CSS.

Can you explain what you mean? I'm not so expert with css, I use bootstrap an the class attribute an usually that's enought. But it doesn't apply on this control.

chrissainty commented 3 years ago

I mean you can write some CSS which overrides our defaults and applies whatever you prefer.

Perhaps it would be worth spending some time understanding CSS if you're writing web applications. https://css-tricks.com/ is a fantastic site to learn about it.