Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2019-06-21 19:29:36 +0300
committerJan-Christoph Borchardt <hey@jancborchardt.net>2019-06-21 19:29:36 +0300
commit0ea8be146b49b08320c4d04586b30b6558560b59 (patch)
treed446731f2a159cf71a56a66900da5baa1cfa6e8a /src/nodes/ImageView.vue
parentf1318e792486df2e30a91efcbf26efb0919c5440 (diff)
Image embed view design improvements, simplification
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'src/nodes/ImageView.vue')
-rw-r--r--src/nodes/ImageView.vue7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nodes/ImageView.vue b/src/nodes/ImageView.vue
index cd8f9d105..bf9b1ff3e 100644
--- a/src/nodes/ImageView.vue
+++ b/src/nodes/ImageView.vue
@@ -168,10 +168,8 @@ export default {
<style scoped lang="scss">
.image {
- border: 1px solid transparent !important;
- &:hover {
- border: 1px solid var(--color-background-darker) !important;
- }
+ margin: 0;
+ padding: 0;
}
.image__caption {
text-align: center;
@@ -195,6 +193,7 @@ export default {
background-color: var(--color-background-dark);
text-align: center;
padding: 20px;
+ border-radius: var(--border-radius);
.icon-image {
opacity: 0.7;
}