summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-06-07 16:23:37 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-06-07 16:23:37 +0900
commitc8f87d0b12031692ce01d340f433cbbbb7b4f6b0 (patch)
tree08b7467be132dafe7521f3a7a4a4c57ba0410674 /src
parentRefactor (diff)
downloadsharkey-c8f87d0b12031692ce01d340f433cbbbb7b4f6b0.tar.gz
sharkey-c8f87d0b12031692ce01d340f433cbbbb7b4f6b0.tar.bz2
sharkey-c8f87d0b12031692ce01d340f433cbbbb7b4f6b0.zip
Improve readability
Diffstat (limited to 'src')
-rw-r--r--src/web/app/common/tags/url-preview.tag9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/web/app/common/tags/url-preview.tag b/src/web/app/common/tags/url-preview.tag
index bc86f441f2..7dbdd8fea2 100644
--- a/src/web/app/common/tags/url-preview.tag
+++ b/src/web/app/common/tags/url-preview.tag
@@ -1,14 +1,17 @@
-<mk-url-preview><a href={ url } target="_blank" title={ url } if={ !loading }>
+<mk-url-preview>
+ <a href={ url } target="_blank" title={ url } if={ !loading }>
<div class="thumbnail" if={ thumbnail } style={ 'background-image: url(' + thumbnail + ')' }></div>
<article>
<header>
<h1>{ title }</h1>
</header>
<p>{ description }</p>
- <footer><img class="icon" if={ icon } src={ icon }/>
+ <footer>
+ <img class="icon" if={ icon } src={ icon }/>
<p>{ sitename }</p>
</footer>
- </article></a>
+ </article>
+ </a>
<style>
:scope
display block