-
-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spotlight with horizontal tab controls? #198
Comments
Haven't tried, but it's a flex container so changing But I would take a look later, it's a very valid use case and I want to reduce the css required to style it. |
Here is a quick example. You can start with this css: .ch-spotlight {
flex-direction: column;
}
.ch-spotlight-tabs {
flex-direction: row;
gap: 12px;
margin-right: 0px;
}
.ch-spotlight-tab {
margin: 0;
padding: 4px 8px;
}
.ch-spotlight-tab p {
margin: 0;
}
.ch-spotlight-sticker {
width: auto;
} |
Am I correct in understanding this would apply to all spotlight components? if so, that would not quite be ideal, as I only have two cases in particular where I want horizontal controls, but I want to keep all the others vertical
Thank you for taking the time to consider this! |
You should be able to use something like As a workaround, for now, you can wrap it inside a |
you should be able to use |
🚀 Issue was released in |
I love the spotlight transition effects, but I wondered if it's possible to mark some individual spotlight blocks for horizontal controls with my own css?
The text was updated successfully, but these errors were encountered: