File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
packages/core/src/components/Cards/EditorialCard Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 4
4
font-family : var (--font-avenir );
5
5
box-sizing : border-box;
6
6
height : 100% ;
7
- border : 2 px solid transparent ;
7
+ background : var ( --color-white ) ;
8
8
}
9
9
10
10
.root : after {
23
23
24
24
.root : focus {
25
25
border : 2px solid var (--color-greyLighter );
26
- box-sizing : border-box;
26
+ box-sizing : content-box;
27
+ margin : -2px ;
27
28
}
28
29
29
30
.imageContainer , .content {
67
68
}
68
69
69
70
.title {
71
+ margin-block-end : 0rem ;
72
+ margin-block-start : 0.5rem ;
73
+ }
74
+
75
+ .titleLink {
70
76
color : var (--color-black );
71
77
font-style : normal;
72
78
font-weight : var (--fontweight-demi );
78
84
text-decoration : none;
79
85
}
80
86
81
- .title : after {
87
+ .titleLink : after {
82
88
content : '' ;
83
89
position : absolute;
84
90
top : 0 ;
130
136
width : 100% ;
131
137
}
132
138
133
- .title {
139
+ .titleLink {
134
140
font-size : var (--font-large-ii );
135
141
line-height : var (--lineheight-large-i );
136
142
}
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const ContentHubCard = ({
58
58
{ date && category && ' · ' }
59
59
< span className = { css . date } > { date } </ span >
60
60
</ div >
61
- < h3 > < a href = { href } className = { css . title } > { title } </ a > </ h3 >
61
+ < h3 className = { css . title } > < a href = { href } className = { css . titleLink } > { title } </ a > </ h3 >
62
62
< p className = { css . description } > { description } </ p >
63
63
{ tags && < ChipGroup tags = { tags } className = { css . chipContainer } /> }
64
64
{ cta &&
You can’t perform that action at this time.
0 commit comments