-
Notifications
You must be signed in to change notification settings - Fork 359
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
Invalid :after .header
selector
#83
Comments
+1 |
Here is the same. |
+1 somebody reported an issue on parcel and they closed it on their right since according to them this is a CSS syntax error: parcel-bundler/parcel#7963 |
Is there any way that i can help with that (fix the invalid css, create a PR) ? |
just try to compile a project importing |
We just ran into this as well with Parcel.
|
You can workaround this by excluding the popup component from being imported. Create import 'semantic-ui-css/components/accordion.min.css'
import 'semantic-ui-css/components/ad.min.css'
import 'semantic-ui-css/components/breadcrumb.min.css'
import 'semantic-ui-css/components/button.min.css'
import 'semantic-ui-css/components/card.min.css'
import 'semantic-ui-css/components/checkbox.min.css'
import 'semantic-ui-css/components/comment.min.css'
import 'semantic-ui-css/components/container.min.css'
import 'semantic-ui-css/components/dimmer.min.css'
import 'semantic-ui-css/components/divider.min.css'
import 'semantic-ui-css/components/dropdown.min.css'
import 'semantic-ui-css/components/embed.min.css'
import 'semantic-ui-css/components/feed.min.css'
import 'semantic-ui-css/components/flag.min.css'
import 'semantic-ui-css/components/form.min.css'
import 'semantic-ui-css/components/grid.min.css'
import 'semantic-ui-css/components/header.min.css'
import 'semantic-ui-css/components/icon.min.css'
import 'semantic-ui-css/components/image.min.css'
import 'semantic-ui-css/components/input.min.css'
import 'semantic-ui-css/components/item.min.css'
import 'semantic-ui-css/components/label.min.css'
import 'semantic-ui-css/components/list.min.css'
import 'semantic-ui-css/components/loader.min.css'
import 'semantic-ui-css/components/menu.min.css'
import 'semantic-ui-css/components/message.min.css'
import 'semantic-ui-css/components/modal.min.css'
import 'semantic-ui-css/components/nag.min.css'
import 'semantic-ui-css/components/placeholder.min.css'
// import 'semantic-ui-css/components/popup.min.css'
import 'semantic-ui-css/components/progress.min.css'
import 'semantic-ui-css/components/rail.min.css'
import 'semantic-ui-css/components/rating.min.css'
import 'semantic-ui-css/components/reset.min.css'
import 'semantic-ui-css/components/reveal.min.css'
import 'semantic-ui-css/components/search.min.css'
import 'semantic-ui-css/components/segment.min.css'
import 'semantic-ui-css/components/shape.min.css'
import 'semantic-ui-css/components/sidebar.min.css'
import 'semantic-ui-css/components/site.min.css'
import 'semantic-ui-css/components/statistic.min.css'
import 'semantic-ui-css/components/step.min.css'
import 'semantic-ui-css/components/sticky.min.css'
import 'semantic-ui-css/components/tab.min.css'
import 'semantic-ui-css/components/table.min.css'
import 'semantic-ui-css/components/transition.min.css'
import 'semantic-ui-css/components/video.min.css' and replace your existing Obviously if you're using the popup component you'll have to take it one step further and copy the source of |
Thanks @isitgeorge |
I think this is a not valid selector because pseudo-element cannot have a child.
Also,
Parcel
emits an error when processing the Semantic-UI CSS on that line:The text was updated successfully, but these errors were encountered: