Skip to content

Commit 79bed27

Browse files
committed
fix lint
1 parent 1d83ef7 commit 79bed27

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Diff for: packages/experiments-realm/crm/deal.gts

+7-5
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,8 @@ class EmbeddedTemplate extends Component<typeof Deal> {
873873
</div>
874874
</article>
875875

876+
{{! template-lint-disable no-whitespace-for-layout }}
877+
{{! ignore the above error because ember-template-lint complains about the whitespace in the multi-line comment below }}
876878
<style scoped>
877879
h1,
878880
p {
@@ -929,7 +931,7 @@ class EmbeddedTemplate extends Component<typeof Deal> {
929931
grid-template-rows: max-content auto;
930932
gap: var(--boxel-sp-xs);
931933
padding: var(--boxel-sp-xs);
932-
container-type: inline-size; /* Enable container queries */
934+
container-type: inline-size;
933935
}
934936
.deal-header {
935937
grid-area: deal-header;
@@ -1023,7 +1025,7 @@ class EmbeddedTemplate extends Component<typeof Deal> {
10231025
margin-top: var(--boxel-sp-lg);
10241026
}
10251027
.deal-details {
1026-
grid-template-columns: 1fr 1fr; /* Switch to 2 items per row */
1028+
grid-template-columns: 1fr 1fr;
10271029
gap: var(--boxel-sp);
10281030
}
10291031
.deal-details :deep(.progress-bar) {
@@ -1194,7 +1196,7 @@ class FittedTemplate extends Component<typeof Deal> {
11941196
.highlight-value {
11951197
font-weight: 600;
11961198
font-size: var(--boxel-font-size);
1197-
white-space: nowrap; /* Added globally */
1199+
white-space: nowrap;
11981200
}
11991201
.progress-container {
12001202
display: flex;
@@ -1266,7 +1268,7 @@ class FittedTemplate extends Component<typeof Deal> {
12661268
grid-area: deal-details;
12671269
display: grid;
12681270
grid-template-rows: auto;
1269-
grid-template-columns: max-content max-content max-content; /* 3 items per row initially */
1271+
grid-template-columns: max-content max-content max-content;
12701272
gap: var(--boxel-sp-xl);
12711273
}
12721274
@@ -1317,7 +1319,7 @@ class FittedTemplate extends Component<typeof Deal> {
13171319
display: none;
13181320
}
13191321
.deal-details {
1320-
grid-template-columns: 1fr 1fr; /* Switch to 2 items per row */
1322+
grid-template-columns: 1fr 1fr;
13211323
}
13221324
13231325
/* Ensure that the first two fields appear in row 1 */

0 commit comments

Comments
 (0)