diff --git a/public/style.css b/public/style.css index cbf39b3..f9923fe 100644 --- a/public/style.css +++ b/public/style.css @@ -124,3 +124,30 @@ header p { margin: 12px 0px; box-sizing: border-box; } + +.user-info { + float: right; +} + +.user-info:after { + content: ""; + display: table; + clear: both; +} + +.user-info img { + display:block; + float: right; + border-radius: 50%; + height: 64px; +} + +.user-info:after { + content: ""; + display: table; + clear: both; +} + +.user-info strong { + display: block; +} diff --git a/src/views/partials/header.hbs b/src/views/partials/header.hbs index 5cfa137..58031cd 100644 --- a/src/views/partials/header.hbs +++ b/src/views/partials/header.hbs @@ -1,8 +1,10 @@
{{#if username}} - {{username}} - {{username}}'s profile picture - {{/if}} +
+ {{username}}'s profile picture + {{username}} +
+ {{/if}}

{{title}}

{{description}}