dsifford/academic-bloggers-toolkit

View on GitHub
src/js/gutenberg/sidebar/toolbar-menu.scss

Summary

Maintainability
Test Coverage
:global(.components-icon-button).more-icon {
Line should be indented 2 spaces, but was indented 4 spaces
padding: 8px 4px;
 
Line should be indented 2 spaces, but was indented 4 spaces
svg {
transform: rotate(90deg);
}
}
 
.dropdown {
// fixes issue with core
Line should be indented 2 spaces, but was indented 4 spaces
!important should not be used
z-index: 1000000 !important;
}
 
.menu {
// matches WordPress core
Line should be indented 2 spaces, but was indented 4 spaces
padding: 7px;
}
 
.separator {
Color literals like `#e2e4e7` should only be used in variable declarations; they should be referred to via variable everywhere else.
`0.5` should be written without a leading zero as `.5`
Line should be indented 2 spaces, but was indented 4 spaces
border: 0.5px solid #e2e4e7;
Line should be indented 2 spaces, but was indented 4 spaces
margin: 8px -7px;
}
 
.sort-choices {
Line should be indented 2 spaces, but was indented 4 spaces
:global(.components-menu-item__button) {
Properties should be ordered padding-inline, padding-left
padding-left: 2rem;
Unknown property padding-inline
padding-inline: 2rem 0;
 
&:global(.has-icon) {
Properties should be ordered padding-inline, padding-left
`0.5` should be written without a leading zero as `.5`
padding-left: 0.5rem;
Unknown property padding-inline
`0.5` should be written without a leading zero as `.5`
padding-inline: 0.5rem 0;
}
}
}