Skip to content

Commit 7f00f6d

Browse files
committed
ui: fix card title clamping, spacing, and byline overflow
Signed-off-by: Ansh Sharma <anshsharma161105@gmail.com>
1 parent d68e29e commit 7f00f6d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/components/Card/Card.style.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ export const CardWrapper = styled.div`
8787
}
8888
8989
.post-content-block {
90-
padding: 1rem 1rem 1.5rem 1rem;
91-
padding-bottom: 1.5rem;
90+
padding: 1rem 2rem 1.5rem 2rem;
9291
height: auto;
9392
min-height: 10rem;
9493
display: flex;
@@ -126,7 +125,7 @@ export const CardWrapper = styled.div`
126125
font-size: 1.4rem;
127126
font-weight: 400;
128127
margin: 0 0 0.5rem 0;
129-
padding: 0 ;
128+
padding: 0;
130129
131130
white-space: normal !important;
132131
display: -webkit-box;
@@ -137,7 +136,6 @@ export const CardWrapper = styled.div`
137136
}
138137
139138
.post-meta-block {
140-
padding: 0 1rem;
141139
height: auto;
142140
display: flex;
143141
margin-bottom: 0.5rem;
@@ -169,7 +167,6 @@ export const CardWrapper = styled.div`
169167
}
170168
171169
.readmore-btn-wrapper {
172-
padding: 0 1rem;
173170
display: flex;
174171
justify-content: flex-start;
175172
}

0 commit comments

Comments
 (0)