Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit e91e534

Browse files
refactor: merge feed-card-content component into feed-card
1 parent b3218d3 commit e91e534

File tree

5 files changed

+202
-265
lines changed

5 files changed

+202
-265
lines changed

studio/src/app/components/feed/card/app-feed-card-content/app-feed-card-content.scss

Lines changed: 0 additions & 76 deletions
This file was deleted.

studio/src/app/components/feed/card/app-feed-card-content/app-feed-card-content.tsx

Lines changed: 0 additions & 156 deletions
This file was deleted.

studio/src/app/components/feed/card/app-feed-card/app-feed-card.scss

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,79 @@ app-feed-card {
22

33
ion-card[class*="sc-ion-card"] {
44
--background: white;
5-
}
65

6+
ion-card-content {
7+
8+
&.compact {
9+
ion-card-header, p.content {
10+
display: none;
11+
}
12+
}
13+
14+
ion-card-title, ion-card-subtitle {
15+
white-space: nowrap;
16+
overflow: hidden;
17+
}
18+
19+
ion-card-title {
20+
font-size: var(--font-size-h1);
21+
}
22+
23+
ion-card-subtitle {
24+
display: flex;
25+
flex-wrap: wrap;
26+
}
27+
28+
input, div.chips {
29+
font-size: var(--font-size-normal);
30+
}
31+
32+
div.chips {
33+
background: rgba(var(--ion-color-primary-rgb), 0.08);
34+
color: var(--ion-color-primary-shade);
35+
border-radius: 16px;
36+
display: inline-flex;
37+
align-items: center;
38+
justify-content: center;
39+
padding: 4px 8px;
40+
margin: 4px 4px 4px 0;
41+
height: 100%;
42+
43+
ion-icon {
44+
padding: 4px 0;
45+
}
46+
47+
ion-label {
48+
padding: 0px 4px;
49+
margin-bottom: 2px;
50+
51+
max-width: 125px;
52+
white-space: nowrap;
53+
overflow: hidden;
54+
text-overflow: ellipsis;
55+
}
56+
}
57+
58+
input {
59+
font-size: var(--font-size-normal);
60+
61+
pointer-events: visible;
62+
63+
background: transparent;
64+
color: var(--ion-color-primary);
65+
border: none;
66+
outline: 0;
67+
68+
padding-bottom: 1px;
69+
70+
max-width: 130px;
71+
height: 40px;
72+
73+
&::placeholder {
74+
color: var(--deckgo-inline-editor-link-placeholder-color, #3880ff);
75+
}
76+
}
77+
}
78+
}
779

880
}

0 commit comments

Comments
 (0)