diff options
| author | Henry Jameson <me@hjkos.com> | 2018-04-01 22:07:25 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-04-07 16:40:08 +0300 |
| commit | 33b1d85921e326e0d81c4bf1a6fa02fec2cbbd5c (patch) | |
| tree | 5d9be56fec6a1ee239955ab65dac3050a3cda4d9 /src/components/attachment | |
| parent | acdb5e5c7a2dac1908a5daafd94c31bc116a1799 (diff) | |
border-radii moved to variables, made rgbo colors use theme data, customizable
from settings screen.
Diffstat (limited to 'src/components/attachment')
| -rw-r--r-- | src/components/attachment/attachment.vue | 6 |
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; } |
