Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@ app-feed-card-tags {
height: 42px;

div.chips {
background: var(--card-tags-background, rgba(var(--ion-color-primary-rgb), 0.08));
color: var(--card-tags-color, var(--ion-color-primary-shade));
background: var(--card-tags-background, rgba(var(--ion-color-medium-rgb), 0.08));
color: var(--card-tags-color, var(--ion-color-medium));
border-radius: 16px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 4px 8px;
margin: 4px 4px 4px 0;
height: 100%;

&:not(:first-of-type) {
margin: 0 4px;
}

font-size: var(--font-size-normal);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class AppFeedCardTags {
return (
<div class="chips">
{this.renderCloseTags(tag)}
<ion-label>{tag}</ion-label>
<ion-label>{this.editable ? '' : '#'}{tag}</ion-label>
</div>
)
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class AppFeedCard {
{this.renderAuthor()}
</ion-card-header>

<p class="content ion-padding">{this.description}</p>
<p class="content ion-padding-start ion-padding-end ion-padding-bottom">{this.description}</p>

{this.renderTags()}
</ion-card-content>
Expand All @@ -165,7 +165,7 @@ export class AppFeedCard {

private renderTags() {
if (this.tags && this.tags.length) {
return <app-feed-card-tags tags={this.tags} class="ion-margin"></app-feed-card-tags>;
return <app-feed-card-tags tags={this.tags} class="ion-margin-start ion-margin-end ion-margin-bottom"></app-feed-card-tags>;
} else {
return undefined;
}
Expand Down