aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/post-attachment
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-03-21 15:14:54 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-03-21 15:14:54 +0200
commit88b8336f0fa51a6f1ac1334e1237d1053d52d8a7 (patch)
tree598bf381a42ad0ce554df197e30e38172e284ceb /src/app/components/post-attachment
parent17a8110e3e0450a88207b9b8b05ebde166a433bc (diff)
downloadDevHive-Angular-88b8336f0fa51a6f1ac1334e1237d1053d52d8a7.tar
DevHive-Angular-88b8336f0fa51a6f1ac1334e1237d1053d52d8a7.tar.gz
DevHive-Angular-88b8336f0fa51a6f1ac1334e1237d1053d52d8a7.zip
Major redesign of form attachments (the ones you find on post creation and edit)
Diffstat (limited to 'src/app/components/post-attachment')
-rw-r--r--src/app/components/post-attachment/post-attachment.component.css4
-rw-r--r--src/app/components/post-attachment/post-attachment.component.html2
2 files changed, 1 insertions, 5 deletions
diff --git a/src/app/components/post-attachment/post-attachment.component.css b/src/app/components/post-attachment/post-attachment.component.css
index 3c25563..6cdab0b 100644
--- a/src/app/components/post-attachment/post-attachment.component.css
+++ b/src/app/components/post-attachment/post-attachment.component.css
@@ -1,7 +1,3 @@
-.attachment {
- background-color: #424242;
-}
-
/* Full attachment */
.show-full-attachment {
diff --git a/src/app/components/post-attachment/post-attachment.component.html b/src/app/components/post-attachment/post-attachment.component.html
index 12004dc..04ba633 100644
--- a/src/app/components/post-attachment/post-attachment.component.html
+++ b/src/app/components/post-attachment/post-attachment.component.html
@@ -1,4 +1,4 @@
-<figure class="attachment faded-slim-border flexible flex-row flex-no-wrap padding-small hover-half-opacity margin-top-bot-small" (click)="toggleShowFull()">
+<figure class="form-attachment faded-slim-border flexible flex-row flex-no-wrap padding-small hover-half-opacity margin-top-bot-small" (click)="toggleShowFull()">
<div class="flex-col flex-justify-center margin-right-small" [ngSwitch]="fileType">
<img *ngSwitchCase="'img'" src="/assets/icons/tabler-icon-photo.svg">
<img *ngSwitchDefault src="/assets/icons/tabler-icon-file.svg">