aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-04-01 22:07:25 +0300
committerHenry Jameson <me@hjkos.com>2018-04-07 16:40:08 +0300
commit33b1d85921e326e0d81c4bf1a6fa02fec2cbbd5c (patch)
tree5d9be56fec6a1ee239955ab65dac3050a3cda4d9 /src/components/attachment/attachment.vue
parentacdb5e5c7a2dac1908a5daafd94c31bc116a1799 (diff)
border-radii moved to variables, made rgbo colors use theme data, customizable
from settings screen.
Diffstat (limited to 'src/components/attachment/attachment.vue')
-rw-r--r--src/components/attachment/attachment.vue6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index e3b1e4d4..1fdee5d3 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -52,7 +52,8 @@
border-style: solid;
border-width: 1px;
- border-radius: 5px;
+ border-radius: $fallback--attachmentRadius;
+ border-radius: var(--attachmentRadius, $fallback--attachmentRadius);
overflow: hidden;
// fixes small gap below video
@@ -109,7 +110,8 @@
flex: 1;
img {
border: 0px;
- border-radius: 5px;
+ border-radius: $fallback--attachmentRadius;
+ border-radius: var(--attachmentRadius, $fallback--attachmentRadius);
height: 100%;
object-fit: cover;
}