Skip to content

Commit

Permalink
Impove css media queries
Browse files Browse the repository at this point in the history
  • Loading branch information
YanZhylavy committed Nov 1, 2024
1 parent 2dbb1dc commit 8bb2dc3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
15 changes: 3 additions & 12 deletions FrontEnd/src/components/CompanyCard/CompanyCard.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -190,18 +190,9 @@
}

@media only screen and (min-width: 1200px) {
.company-card {
width: 302px;
}

.company-card__image-frame {
width: 302px;
}

.company-card__image {
width: 302px;
}

.company-card,
.company-card__image-frame,
.company-card__image,
.company-card__text-block {
width: 302px;
}
Expand Down
12 changes: 4 additions & 8 deletions FrontEnd/src/pages/LandingPage/Companies/Companies.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,11 @@
}

@media only screen and (min-width: 768px) {
.new-companies-main {
width: 768px;
}

.new-companies-main,
.new-companies-block {
width: 768px;
}

.new-companies-main__title {
font-size: 40px;
}
Expand All @@ -66,13 +64,11 @@
}

@media only screen and (min-width: 1200px) {
.new-companies-main {
width: 1512px;
}

.new-companies-main,
.new-companies-block {
width: 1512px;
}

.new-companies-main__title {
padding-left: 100px;
}
Expand Down

0 comments on commit 8bb2dc3

Please sign in to comment.