asidenews

This commit is contained in:
Kakabay 2023-01-30 20:20:53 +05:00
parent 14419b19d0
commit 097cdecf30
2 changed files with 5 additions and 6 deletions

View File

@ -24,7 +24,7 @@ const AsideNews = ({ title, category, date, img, link }: Props) => {
<div className="aside-news-info">
<div className="aside-news-info-inner">
<div className="aside-news-status">
<NewsCategory title={(category = '')} link="" />
<NewsCategory title="политика" link="" />
<NewsDate date={date} />
</div>
<h2 className="aside-news-title">{title}</h2>

View File

@ -28,13 +28,12 @@
justify-content: space-between;
}
.aside-news-category {
display: inline-block;
.aside-news-link {
color: $main;
text-transform: uppercase;
font-weight: 400;
display: flex;
align-items: center;
font-size: 1.4rem;
@include roboto;
gap: 0.8rem;
}
.aside-news-text {