Skip to content

Commit

Permalink
fix img resolution (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
fiskryeziu committed Aug 1, 2023
1 parent 0e546e9 commit c30956f
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/pages/Profile/feed/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,18 @@
}

.app__posts__feed {
border: 1px solid #dbdbdb;
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
position: relative;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
margin-bottom: 20px;
margin-right: 10px;
gap: 0;
padding: 0;
position: relative;
border: 1px solid #dbdbdb;
}

.post_container {
position: relative;
width: calc(33% - 16px);
aspect-ratio: 1;
padding: 8px;
cursor: pointer;
Expand All @@ -35,7 +33,7 @@
.post_image {
width: 100%;
height: 100%;
background-size: cover !important;
object-fit: cover;
}

.caption_without_image {
Expand Down Expand Up @@ -75,12 +73,10 @@
}

.post_container {
width: calc(33% - 8px);
aspect-ratio: 1;
padding: 4px;
}

.caption_without_image {
font-size: 10px;
}
}
}

0 comments on commit c30956f

Please sign in to comment.