Skip to content

Commit b1c4a9d

Browse files
committed
Added styles
1 parent 54b940e commit b1c4a9d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

LinkDotNet.Blog.Web/Shared/Like.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@using Blazored.LocalStorage
33
@using LinkDotNet.Infrastructure.Persistence
44
@inject ILocalStorageService _localStorage
5-
<div style="float: right">
5+
<div class="like-container">
66
<small>@BlogPost.Likes @LikeText</small>
77
<button class="btn @BtnClass" @onclick="LikeBlogPost"><i class="far fa-thumbs-up"></i> @LikeTextButton</button>
88
</div>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.like-container {
2+
float: right;
3+
margin-top: 20px;
4+
}
5+
6+
.like-container button {
7+
margin-left: 10px;
8+
}

0 commit comments

Comments
 (0)