Skip to content

Commit c6d5016

Browse files
authored
Merge pull request #132 from nextcloud-libraries/fix/use-logical-top-bottom
fix(use-logical): ignore properties with `/-(top|bottom)-/`
2 parents 07a1b14 + a13878f commit c6d5016

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ module.exports = {
5959
// Position properties with directional suffixes
6060
/-top$/,
6161
/-bottom$/,
62+
// also for e.g. border-bottom-color
63+
/-top-/,
64+
/-bottom-/,
6265
// Size properties
6366
'width',
6467
'max-width',

0 commit comments

Comments
 (0)