Skip to content

Commit

Permalink
fix: border-width
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSeage committed Dec 30, 2021
1 parent aa142ff commit aa16f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/border-width.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { Style } from '@master/style';
import { BORDER, DASH, WIDTH } from './constants/css-property-keyword';

export class BorderWidthStyle extends Style {
static override matches = /^b-width:.|b(order)?:[0-9]((?!;).)*$/;
static override matches = /^(b-width:.|b(order)?:[0-9]((?!;).)*)$/;
static override key = BORDER + DASH + WIDTH;
}

0 comments on commit aa16f12

Please sign in to comment.