Skip to content
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

fix: initial classes were set to :before #835

Merged
merged 1 commit into from
Jan 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: intial classes were set to :before
  • Loading branch information
hougasian authored and hougasian committed Jan 24, 2024
commit 7f5fd98a95a260e1b98957c8a70d65e817ca04e9
2 changes: 1 addition & 1 deletion src/templates/css.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{# if selector }}
{{ selector }}:before {
{{ else }}
{{ tag }}[class^="{{prefix}}-"]:before, {{ tag }}[class*=" {{prefix}}-"]:before {
{{ tag }}[class^="{{prefix}}-"], {{ tag }}[class*=" {{prefix}}-"] {
{{/ if }}
display: inline-block;
font-family: {{ name }} !important;
Expand Down
Loading