Skip to content

Commit

Permalink
Match CSS package: Add property value: fit-content
Browse files Browse the repository at this point in the history
  • Loading branch information
braver committed Nov 30, 2019
1 parent aabaef3 commit d971c9e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions Syntaxes/LESS.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -1148,6 +1148,7 @@ contexts:
| farthest-(corner|side)?
| fill(-box|-opacity)?
| filter|first|fixed|flat
| fit-content
| flex((-basis|-end|-grow|-shrink|-start)|box)?
| flip|flood-color
| font(-size(-adjust)?|-stretch|-weight)?
Expand Down
12 changes: 6 additions & 6 deletions less_completions.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
'grid-row': ['<number>'],
'grid-row-end': ['<number>'],
'grid-row-start': ['<number>'],
'height': ['<length>', '<percentage>', 'auto'],
'height': ['<length>', '<percentage>', 'auto', 'fit-content'],
'hyphens': ['none', 'manual', 'auto'],
'image-rendering': [
'auto', 'optimizeSpeed', 'optimizeQuality', 'pixelated'
Expand Down Expand Up @@ -365,10 +365,10 @@
'marks': ['crop', 'cross', 'none'],
'mask': ['<uri>', 'none'],
'mask-type': ['luminance', 'alpha'],
'max-height': ['<length>', '<percentage>', 'none'],
'max-width': ['<length>', '<percentage>', 'none'],
'min-height': ['<length>', '<percentage>'],
'min-width': ['<length>', '<percentage>'],
'max-height': ['<length>', '<percentage>', 'fit-content', 'none'],
'max-width': ['<length>', '<percentage>', 'fit-content', 'none'],
'min-height': ['<length>', '<percentage>', 'fit-content'],
'min-width': ['<length>', '<percentage>', 'fit-content'],
'mix-blend-mode': ['<blend_mode>'],
'object-fit': ['fill', 'contain', 'cover', 'none', 'scale-down'],
'object-position': ['<position>'],
Expand Down Expand Up @@ -464,7 +464,7 @@
'visibility': ['visible', 'hidden', 'collapse'],
'white-space': ['normal', 'pre', 'nowrap', 'pre-wrap', 'pre-line'],
'widows': ['<integer>'],
'width': ['<length>', '<percentage>', 'auto'],
'width': ['<length>', '<percentage>', 'auto', 'fit-content'],
'will-change': ['auto', 'contents', 'scroll-position', '<custom-ident>'],
'word-break': ['normal', 'break-all', 'keep-all'],
'word-spacing': ['normal', '<length>'],
Expand Down

0 comments on commit d971c9e

Please sign in to comment.