Skip to content

Commit

Permalink
update image css with dimension change
Browse files Browse the repository at this point in the history
  • Loading branch information
trushant05 committed Jan 13, 2024
1 parent 06e0520 commit b1a9c1c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
12 changes: 5 additions & 7 deletions _work/2021-09-10-work-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ tags:
- test
---

<p style="text-align: center">
<img src="/images/work/botsync/me.png"></p>

<figure>
<img src="/images/work/botsync/me.png" alt="Me hanging out with Copernius">
<figcaption>
My photo with the Copernius Robot
</figcaption>
<img src="/images/work/botsync/me.png" alt="Me hanging out with Copernius"
height="40%" width="40%">
<figcaption style="text-align: center">
My photo with the Copernius Robot
</figcaption>
</figure>

<p style="text-align: justify">
Expand Down
5 changes: 5 additions & 0 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -275,3 +275,8 @@ div.writing-card-image img {
margin-left: auto;
margin-right: auto;
}

.figure {
display: flex;
align-items: center;
}

0 comments on commit b1a9c1c

Please sign in to comment.