summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-22 21:36:00 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-22 21:36:00 +0900
commit484f063c01bc1790426381b6b95368a9e0d12e6b (patch)
tree2272fc85bc140ab7fc592eab8838c23bc55235a4 /src/web
parentUpdate timeline-post.tag (diff)
downloadmisskey-484f063c01bc1790426381b6b95368a9e0d12e6b.tar.gz
misskey-484f063c01bc1790426381b6b95368a9e0d12e6b.tar.bz2
misskey-484f063c01bc1790426381b6b95368a9e0d12e6b.zip
[Client] Clean up
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/desktop/tags/ui.tag10
-rw-r--r--src/web/app/mobile/tags/ui.tag12
2 files changed, 9 insertions, 13 deletions
diff --git a/src/web/app/desktop/tags/ui.tag b/src/web/app/desktop/tags/ui.tag
index 9792839ba4..e701bd746f 100644
--- a/src/web/app/desktop/tags/ui.tag
+++ b/src/web/app/desktop/tags/ui.tag
@@ -1,9 +1,9 @@
<mk-ui>
- <div class="global" ref="global">
- <mk-ui-header ref="header" page={ opts.page }></mk-ui-header>
- <mk-set-avatar-suggestion if={ SIGNIN && I.avatar_id == null }></mk-set-avatar-suggestion>
- <mk-set-banner-suggestion if={ SIGNIN && I.banner_id == null }></mk-set-banner-suggestion>
- <div class="content"><yield /></div>
+ <mk-ui-header page={ opts.page }></mk-ui-header>
+ <mk-set-avatar-suggestion if={ SIGNIN && I.avatar_id == null }></mk-set-avatar-suggestion>
+ <mk-set-banner-suggestion if={ SIGNIN && I.banner_id == null }></mk-set-banner-suggestion>
+ <div class="content">
+ <yield />
</div>
<mk-stream-indicator></mk-stream-indicator>
<style>
diff --git a/src/web/app/mobile/tags/ui.tag b/src/web/app/mobile/tags/ui.tag
index 3b3c6823d0..6f2f3130a1 100644
--- a/src/web/app/mobile/tags/ui.tag
+++ b/src/web/app/mobile/tags/ui.tag
@@ -1,17 +1,13 @@
<mk-ui>
- <div class="global" ref="global">
- <mk-ui-header ref="header"></mk-ui-header>
- <mk-ui-nav ref="nav"></mk-ui-nav>
- <div class="content" ref="main"><yield /></div>
+ <mk-ui-header></mk-ui-header>
+ <mk-ui-nav ref="nav"></mk-ui-nav>
+ <div class="content">
+ <yield />
</div>
<mk-stream-indicator></mk-stream-indicator>
<style>
:scope
display block
-
- > .global
- > .content
- background #fff
</style>
<script>
this.mixin('stream');