Skip to content

cannot add :after selector on tuiButton #9913

Closed Answered by waterplea
vytautas-pranskunas- asked this question in Q&A
Discussion options

You must be logged in to vote

This is expected, ::before and ::after are reserved for icons in buttons, links, tabs etc. If you do not use icons and really need to use them for something else — you would have to override the styles that are added by tuiIcons directive.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by waterplea
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants