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
CSS is affecting parent page #445
Comments
An option would be to contain all hslayers css in some container class ".hslng" for example Did you notice any more classes except .menu? Menu seems to be a realy bad name for a css class. |
noticed only the menu class, but for the future will be good solution your container class option |
Or maybe use 'hs-' prefix for every CSS class, as with the IDs here: #408 ? |
Sounds good |
Yes, prefixing is better. Because it protects from external css messing up hsl css, and not just other direction. |
Also we should use ids less, because they wont work correctly when we have multiple hsl maps in the same page |
Map div should not be with unique id refs #445 Css to get rid of element IDs and prefix with hs- refs #445 map-container element renamed to hs-map-container refs #445 infopanel element renamed to gs-infopanel class refs #445 Make panelplace and dialog-area into property in layoutService ref #445 Wait for map to load before adding geolocation controls hs-minisidebar should be a class not id refs #445 sidebar-list class should be hs-sidebar-list refs #445 Remove a lot of duplicate id=ows_type for various elements ref #445 hs-page-wrapper is a class not id Add hs preposition to element selection in panelSpaceHeight function Fix service name typo in vgi-draw component location->layout Fix sidebar width on mobile refactor layoutService.SidebarBottom function Fix closed sidebar width on mobile
Map div should not be with unique id refs #445 Css to get rid of element IDs and prefix with hs- refs #445 map-container element renamed to hs-map-container refs #445 infopanel element renamed to gs-infopanel class refs #445 Make panelplace and dialog-area into property in layoutService ref #445 Wait for map to load before adding geolocation controls hs-minisidebar should be a class not id refs #445 sidebar-list class should be hs-sidebar-list refs #445 Remove a lot of duplicate id=ows_type for various elements ref #445 hs-page-wrapper is a class not id Add hs preposition to element selection in panelSpaceHeight function Fix service name typo in vgi-draw component location->layout Fix sidebar width on mobile refactor layoutService.SidebarBottom function Fix closed sidebar width on mobile
Map div should not be with unique id refs #445 Css to get rid of element IDs and prefix with hs- refs #445 map-container element renamed to hs-map-container refs #445 infopanel element renamed to gs-infopanel class refs #445 Make panelplace and dialog-area into property in layoutService ref #445 Wait for map to load before adding geolocation controls hs-minisidebar should be a class not id refs #445 sidebar-list class should be hs-sidebar-list refs #445 Remove a lot of duplicate id=ows_type for various elements ref #445 hs-page-wrapper is a class not id Add hs preposition to element selection in panelSpaceHeight function Fix service name typo in vgi-draw component location->layout Fix sidebar width on mobile refactor layoutService.SidebarBottom function Fix closed sidebar width on mobile
Example - in PrestaShop are menu styles in conflict (app.css from line 52).
It would be good to use hslayers CSS only for hslayers elements.
The text was updated successfully, but these errors were encountered: