aboutsummaryrefslogtreecommitdiff
path: root/src/app/components
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-03-19 18:05:49 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-03-19 18:05:49 +0200
commit42c2065ea3b2314012d4ef41104a5161bc051f23 (patch)
tree612fd9b42bf22c0279ac1e64b991f6b26f36c1d4 /src/app/components
parent3002de560f363886fddcfa5520ef5520bf78fcc8 (diff)
downloadDevHive-Angular-42c2065ea3b2314012d4ef41104a5161bc051f23.tar
DevHive-Angular-42c2065ea3b2314012d4ef41104a5161bc051f23.tar.gz
DevHive-Angular-42c2065ea3b2314012d4ef41104a5161bc051f23.zip
Fixed slight missalignment between button icons and actual value of votes in posts
Diffstat (limited to 'src/app/components')
-rw-r--r--src/app/components/post/post.component.css5
-rw-r--r--src/app/components/post/post.component.html2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/app/components/post/post.component.css b/src/app/components/post/post.component.css
index 52f3283..f263386 100644
--- a/src/app/components/post/post.component.css
+++ b/src/app/components/post/post.component.css
@@ -28,3 +28,8 @@
.post-details > * {
margin-left: 1.1em;
}
+
+.rating img {
+ height: 1.2em;
+ width: 1.2em;
+}
diff --git a/src/app/components/post/post.component.html b/src/app/components/post/post.component.html
index 7b8c1fa..d9ce657 100644
--- a/src/app/components/post/post.component.html
+++ b/src/app/components/post/post.component.html
@@ -46,7 +46,7 @@
</button>
</section>
</main>
- <aside class="flex-col flex-center-align-items">
+ <aside class="rating flex-col flex-center-align-items">
<button class="flex-col lighter-hover border-radius-small click-effect" (click)="votePost(true)">
<img src="/assets/icons/tabler-icon-chevron-up.svg">
</button>