-
Notifications
You must be signed in to change notification settings - Fork 26.6k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: coreIssues related to the framework runtimeIssues related to the framework runtimecore: sanitizationcore: styling bindingsfreq1: lowtype: bug/fix
Milestone
Description
🐞 bug report
Description
style.grid-template-columns inline binding doesn't work
<div class="grid" [style.grid-template-columns]="'repeat(5, 1fr)'">
<div>test</div>
<div>test</div>
<div>test</div>
<div>test</div>
<div>test</div>
</div>
🔬 Minimal Reproduction
https://stackblitz.com/edit/angular-hbqtjz
🌍 Your Environment
Angular Version:
7.1.4
Anything else relevant?
It works by using ngStyle like [ngStyle]="{ 'grid-template-columns': 'repeat(5, 1fr)'}
jonrimmer, Splaktar, samherrmann, andreElrico, ionut-gheorghe and 1 more
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: coreIssues related to the framework runtimeIssues related to the framework runtimecore: sanitizationcore: styling bindingsfreq1: lowtype: bug/fix