Skip to content

Commit

Permalink
fixed users card
Browse files Browse the repository at this point in the history
  • Loading branch information
Alekseevich-psk committed Oct 11, 2024
1 parent feda0cd commit a6e29c8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/pages/sections/users/users.pug
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include ./data.pug
.card-user__photo
img(src=user.avatar, alt="")
.card-user__text
.card-user__name=user.name
a(href="#").card-user__name=user.name
.card-user__info
span Регистрация:
span=user.registration
Expand Down
6 changes: 6 additions & 0 deletions app/styles/elements/_card-user.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.card-user {

&__body {
position: relative;
display: flex;
Expand Down Expand Up @@ -62,12 +63,17 @@
}

&__name {
position: relative;
font-weight: 500;
font-size: 20px;
line-height: 140%;
color: $black;
margin-bottom: 4px;

&:hover {
text-decoration: underline;
}

@include for-sm-desktop {
font-size: 18px;
}
Expand Down
1 change: 0 additions & 1 deletion app/styles/setting/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ $white: #fff;
$black: #242424;

$grayTextColor: #999;

$transition: 0.25s;

$primary_font: $fontMain;
Expand Down

0 comments on commit a6e29c8

Please sign in to comment.