aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.scss
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-02-10 15:42:28 +0200
committerHenry Jameson <me@hjkos.com>2022-02-10 15:42:28 +0200
commitbefd4d5fc787d3f8287456dbf5d1a6c70419591f (patch)
treeab83a080e3f1911d4a3faf8aa340be0c6c0d8082 /src/components/attachment/attachment.scss
parentd1f02221cb8e15654da2e101d51440db1570e14d (diff)
improve unknown attachment handling
Diffstat (limited to 'src/components/attachment/attachment.scss')
-rw-r--r--src/components/attachment/attachment.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/components/attachment/attachment.scss b/src/components/attachment/attachment.scss
index 065c38d2..dfda15bf 100644
--- a/src/components/attachment/attachment.scss
+++ b/src/components/attachment/attachment.scss
@@ -54,6 +54,7 @@
min-width: 0;
}
+ & .placeholder-container,
& .image-container,
& .audio-container,
& .video-container,
@@ -93,6 +94,15 @@
}
}
+ .placeholder-container {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ padding-top: 0.5em;
+ }
+
+
.play-icon {
position: absolute;
font-size: 64px;