app/views/layouts/_footer.html.haml
Do not use inline style attributes Open
Open
%div{ style: "float: right;" }
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
HamlLint/InlineStyles
Tags should not contain inline style attributes.
Bad
haml
%p{ style: 'color: red;' }
Good
haml
%p.warning
Exceptions may need to be made for dynamic content and email templates.
See CodeAcademy to learn more.