Skip to content

Commit

Permalink
fixed vertical overlapping thanks to israr
Browse files Browse the repository at this point in the history
  • Loading branch information
beyond9thousand committed Jul 24, 2023
1 parent f545d24 commit 40d4bd9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 1 addition & 7 deletions src/components/Custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,7 @@ export function Visit({ title, children, link }) {

export function Thumb({ src, children }) {
return (
<div
style={{
width: "45",
height: "45px",
}}
class="avatar"
>
<div class="avatar">
<img src={require(`@site/static/img/${src}`).default} />
<div class="avatar__intro">{children}</div>
</div>
Expand Down
5 changes: 5 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@

/* Components */

.avatar img {
width: 45px;
height: 45px;
}

.alert {
--ifm-link-color: inherit;
--ifm-link-decoration: inherit;
Expand Down

0 comments on commit 40d4bd9

Please sign in to comment.