Skip to content

Commit

Permalink
Revert element height/width in favor of CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
squalrus authored and vaga committed Mar 8, 2021
1 parent 0172b8e commit 3094e3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions assets/css/components/_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
}

.app-header-avatar {
max-width: 15rem;
max-height: 15rem;
width: 15rem;
height: 15rem;
border-radius: 100%;
border: 0.5rem solid $primary-color;
}
Expand Down
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</head>
<body>
<header class="app-header">
<a href="{{ .Site.BaseURL }}"><img class="app-header-avatar" src="{{ .Site.Params.avatar | default "avatar.jpg" | relURL }}" alt="{{ .Site.Params.author | default "John Doe" }}" height="240" width="240" /></a>
<a href="{{ .Site.BaseURL }}"><img class="app-header-avatar" src="{{ .Site.Params.avatar | default "avatar.jpg" | relURL }}" alt="{{ .Site.Params.author | default "John Doe" }}" /></a>
<h1>{{ .Site.Title }}</h1>
{{- with .Site.Menus.main }}
<nav class="app-header-menu">
Expand Down

0 comments on commit 3094e3f

Please sign in to comment.