From 0a7c0f30fdd96b11246485b3a98f608b2cfc7407 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 28 May 2018 14:54:16 +0900 Subject: [PATCH] :art: --- src/client/app/desktop/views/components/note-preview.vue | 7 +++---- src/client/app/desktop/views/components/notes.note.sub.vue | 1 - src/client/app/desktop/views/components/notes.note.vue | 2 -- .../app/desktop/views/components/post-form-window.vue | 2 +- src/client/app/mobile/views/components/note-preview.vue | 6 +++++- src/client/app/mobile/views/components/note.sub.vue | 1 - src/client/app/mobile/views/components/note.vue | 2 -- 7 files changed, 9 insertions(+), 12 deletions(-) diff --git a/src/client/app/desktop/views/components/note-preview.vue b/src/client/app/desktop/views/components/note-preview.vue index 302c5e803f..a25eedb8f7 100644 --- a/src/client/app/desktop/views/components/note-preview.vue +++ b/src/client/app/desktop/views/components/note-preview.vue @@ -42,9 +42,9 @@ root(isDark) > .avatar display block float left - margin 0 16px 0 0 - width 52px - height 52px + margin 0 12px 0 0 + width 48px + height 48px border-radius 8px > .main @@ -85,7 +85,6 @@ root(isDark) cursor default margin 0 padding 0 - font-size 1.1em color isDark ? #959ba7 : #717171 .mk-note-preview[data-darkmode] diff --git a/src/client/app/desktop/views/components/notes.note.sub.vue b/src/client/app/desktop/views/components/notes.note.sub.vue index 997e1d5050..467b503bd9 100644 --- a/src/client/app/desktop/views/components/notes.note.sub.vue +++ b/src/client/app/desktop/views/components/notes.note.sub.vue @@ -126,7 +126,6 @@ root(isDark) cursor default margin 0 padding 0 - font-size 1.1em color isDark ? #959ba7 : #717171 pre diff --git a/src/client/app/desktop/views/components/notes.note.vue b/src/client/app/desktop/views/components/notes.note.vue index f293ffacfb..570a100768 100644 --- a/src/client/app/desktop/views/components/notes.note.vue +++ b/src/client/app/desktop/views/components/notes.note.vue @@ -480,7 +480,6 @@ root(isDark) margin 0 padding 0 overflow-wrap break-word - font-size 1.1em color isDark ? #fff : #717171 > .text @@ -507,7 +506,6 @@ root(isDark) margin 0 padding 0 overflow-wrap break-word - font-size 1.1em color isDark ? #fff : #717171 >>> .title diff --git a/src/client/app/desktop/views/components/post-form-window.vue b/src/client/app/desktop/views/components/post-form-window.vue index 18bb39f9bc..c55d6f1a1e 100644 --- a/src/client/app/desktop/views/components/post-form-window.vue +++ b/src/client/app/desktop/views/components/post-form-window.vue @@ -71,6 +71,6 @@ export default Vue.extend({ content ')' .notePreview - margin 16px 22px + margin 16px 22px 0 22px diff --git a/src/client/app/mobile/views/components/note-preview.vue b/src/client/app/mobile/views/components/note-preview.vue index e328238da0..fc7520bac7 100644 --- a/src/client/app/mobile/views/components/note-preview.vue +++ b/src/client/app/mobile/views/components/note-preview.vue @@ -54,6 +54,11 @@ root(isDark) height 48px border-radius 8px + @media (max-width 500px) + margin 0 10px 0 0 + width 44px + height 44px + > .main float left width calc(100% - 60px) @@ -114,7 +119,6 @@ root(isDark) cursor default margin 0 padding 0 - font-size 1.1em color isDark ? #959ba7 : #717171 .mk-note-preview[data-darkmode] diff --git a/src/client/app/mobile/views/components/note.sub.vue b/src/client/app/mobile/views/components/note.sub.vue index afdfe7d229..18d41cc7eb 100644 --- a/src/client/app/mobile/views/components/note.sub.vue +++ b/src/client/app/mobile/views/components/note.sub.vue @@ -147,7 +147,6 @@ root(isDark) cursor default margin 0 padding 0 - font-size 1.1em color isDark ? #959ba7 : #717171 pre diff --git a/src/client/app/mobile/views/components/note.vue b/src/client/app/mobile/views/components/note.vue index 997d83a6fe..c3994197c4 100644 --- a/src/client/app/mobile/views/components/note.vue +++ b/src/client/app/mobile/views/components/note.vue @@ -429,7 +429,6 @@ root(isDark) margin 0 padding 0 overflow-wrap break-word - font-size 1.1em color isDark ? #fff : #717171 > .text @@ -455,7 +454,6 @@ root(isDark) margin 0 padding 0 overflow-wrap break-word - font-size 1.1em color isDark ? #fff : #717171 >>> .title