File tree Expand file tree Collapse file tree
projects/social_platform/src/app/office Expand file tree Collapse file tree Original file line number Diff line number Diff line change 118118 }
119119
120120 & __name {
121- max-width : 120px ;
122121 margin-bottom : 3px ;
123122 overflow : hidden ;
124123 color : var (--black );
Original file line number Diff line number Diff line change 3131
3232 & __list {
3333 display : grid ;
34- flex-grow : 1 ;
3534 grid-template-columns : 1fr ;
3635 row-gap : 50px ;
3736 column-gap : 20px ;
Original file line number Diff line number Diff line change 55 < img class ="card__avatar " [src] ="newsItem.imageAddress " [alt] ="newsItem.name " />
66 < div >
77 < div class ="card__top ">
8- < div class ="card__name text-body-10 "> {{ newsItem.name | truncate: 30 }}</ div >
8+ < div class ="card__info " style ="display: flex; flex-direction: column ">
9+ < div class ="card__name text-body-10 "> {{ newsItem.name | truncate: 30 }}</ div >
10+ < div class ="card__date text-body-10 ">
11+ {{ newsItem.datetimeCreated | dayjs: "format":"DD.MM.YY" }}
12+ </ div >
13+ </ div >
914 @if (newsItem.pin) {
1015 < i appIcon icon ="pin " appSquare ="12 "> </ i >
1116 }
113118 </ div >
114119 </ div >
115120 < div class ="footer__right ">
116- < div class ="card__date text-body-10 ">
117- {{ newsItem.datetimeCreated | dayjs: "format":"DD.MM.YY" }}
121+ < div class ="card__views text-body-10 ">
122+ < i appIcon icon ="eye " appSquare ="12 "> </ i >
123+ {{ newsItem.viewsCount }}
118124 </ div >
119125 </ div >
120126 </ div >
Original file line number Diff line number Diff line change 7676 color : var (--dark-grey );
7777 }
7878
79+ & __views {
80+ display : flex ;
81+ align-items : center ;
82+ gap : 3px ;
83+ color : var (--dark-grey );
84+
85+ i {
86+ margin-bottom : 1px ;
87+ }
88+ }
89+
7990 /* stylelint-disable value-no-vendor-prefix */
8091 & __text {
8192 white-space : break- spaces;
173184 align-items : center ;
174185 }
175186
187+ & __right {
188+ display : flex ;
189+ align-items : center ;
190+ gap : 5px ;
191+ }
192+
176193 & __item {
177194 display : flex ;
178195 align-items : center ;
Original file line number Diff line number Diff line change 101101 & __directions {
102102 display : grid ;
103103 grid-template-columns : repeat (5 , 1fr );
104- grid-gap : 20 px ;
104+ grid-gap : 10 px ;
105105 align-items : center ;
106106 margin-top : 24px ;
107107 }
You can’t perform that action at this time.
0 commit comments