Skip to content

Commit

Permalink
Remove important from the inline styles as well
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Sep 9, 2021
1 parent c10f2be commit bc67b3d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/block-editor/src/hooks/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ function compileElementsStyles( selector, elements = {} ) {
...map(
elementStyles,
( value, property ) =>
`\t${ kebabCase( property ) }: ${ value }${
element === 'link' ? '!important' : ''
};`
`\t${ kebabCase( property ) }: ${ value };`
),
'}',
].join( '\n' );
Expand Down

0 comments on commit bc67b3d

Please sign in to comment.