summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authortamaina <tamaina@hotmail.co.jp>2017-12-10 21:01:25 +0900
committertamaina <tamaina@hotmail.co.jp>2017-12-10 21:01:25 +0900
commit3cd0c45176b85870c345c32e5ba19f71a63309c2 (patch)
tree9dbe7ad44c35ed3f5e0fb3e1d036321ac05f39c7 /src/web
parentURL修正 (diff)
downloadmisskey-3cd0c45176b85870c345c32e5ba19f71a63309c2.tar.gz
misskey-3cd0c45176b85870c345c32e5ba19f71a63309c2.tar.bz2
misskey-3cd0c45176b85870c345c32e5ba19f71a63309c2.zip
推測でCSSを動かす
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/desktop/tags/images-viewer.tag1
-rw-r--r--src/web/app/desktop/tags/post-detail-sub.tag5
-rw-r--r--src/web/app/desktop/tags/timeline.tag5
3 files changed, 1 insertions, 10 deletions
diff --git a/src/web/app/desktop/tags/images-viewer.tag b/src/web/app/desktop/tags/images-viewer.tag
index 9fd6b8de92..0369ea9f66 100644
--- a/src/web/app/desktop/tags/images-viewer.tag
+++ b/src/web/app/desktop/tags/images-viewer.tag
@@ -15,6 +15,7 @@
background-position center
> img
+ display block
visibility hidden
max-width: 100%
max-height: 256px
diff --git a/src/web/app/desktop/tags/post-detail-sub.tag b/src/web/app/desktop/tags/post-detail-sub.tag
index 99899929d6..ab45b55234 100644
--- a/src/web/app/desktop/tags/post-detail-sub.tag
+++ b/src/web/app/desktop/tags/post-detail-sub.tag
@@ -105,11 +105,6 @@
> mk-url-preview
margin-top 8px
- > .media
- > img
- display block
- max-width 100%
-
</style>
<script>
import compile from '../../common/scripts/text-compiler';
diff --git a/src/web/app/desktop/tags/timeline.tag b/src/web/app/desktop/tags/timeline.tag
index 08e658a3c6..77e4a573b1 100644
--- a/src/web/app/desktop/tags/timeline.tag
+++ b/src/web/app/desktop/tags/timeline.tag
@@ -357,11 +357,6 @@
background $theme-color
border-radius 4px
- > .media
- > img
- display block
- max-width 100%
-
> mk-poll
font-size 80%