Skip to content

Commit 4edb24b

Browse files
committed
rev change to trips card
1 parent b648cb8 commit 4edb24b

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

packages/experiments-realm/trips.gts

+3-20
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,9 @@ export class Trips extends FieldDef {
1212

1313
static embedded = class Embedded extends Component<typeof this> {
1414
<template>
15-
<@fields.countriesVisited />
16-
</template>
17-
};
18-
19-
static fitted = class Fitted extends Component<typeof this> {
20-
<template>
21-
<div class='trips-fitted'>
22-
Trips: <@fields.countriesVisited class='countries' @format='atom' @displayContainer={{false}} />
23-
</div>
24-
<style>
25-
.trips-fitted {
26-
display: flex;
27-
align-items: center;
28-
gap: var(--boxel-sp-xs);
29-
padding: var(--boxel-sp-xs);
30-
overflow: hidden;
31-
white-space: nowrap;
32-
text-overflow: ellipsis;
33-
}
34-
</style>
15+
<address>
16+
<@fields.countriesVisited />
17+
</address>
3518
</template>
3619
};
3720
}

0 commit comments

Comments
 (0)