Skip to content

Commit

Permalink
fix: size
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Dec 29, 2021
1 parent 0e2ad25 commit 00fbe14
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions src/constants/css-property-keyword.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,6 @@ export const ORDER_PREFIX = 'o:';
export const LAST = 'last';
export const COL = 'col';
export const SPAN = 'span';
export const MAX_CONTENT = MAX + DASH + CONTENT;
export const MIN_CONTENT = MIN + DASH + CONTENT;
export const FIT_CONTENT = FIT + DASH + CONTENT;
export const PERCENT100 = '100%';
export const JUSTIFY = 'justify';
export const ITEMS = ITEM + 's';
export const SELF = 'self';
Expand Down Expand Up @@ -210,8 +206,8 @@ export const CARET = 'caret';
export const SNAP = 'snap';
export const STOP = 'stop';
export const SIZING_VALUES = {
full: PERCENT100,
fit: FIT_CONTENT,
max: MAX_CONTENT,
min: MIN_CONTENT
full: '100%',
fit: FIT + DASH + CONTENT,
max: MAX + DASH + CONTENT,
min: MIN + DASH + CONTENT
}
2 changes: 1 addition & 1 deletion src/max-height.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FIT_CONTENT, MAX_CONTENT, MAX_HEIGHT, MIN_CONTENT, PERCENT100, SIZING_VALUES } from './constants/css-property-keyword';
import { MAX_HEIGHT, SIZING_VALUES } from './constants/css-property-keyword';
import { Style } from '@master/style';

export class MaxHeightStyle extends Style {
Expand Down

0 comments on commit 00fbe14

Please sign in to comment.