From 78605f149253fa897910b388eac19c9275520558 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Fri, 21 Sep 2018 00:16:10 +0900 Subject: [PATCH 1/8] refs #251 Move appearance settings to separate page --- src/config/locales/en/translation.json | 36 +-- src/constants/displayStyle.js | 6 +- src/constants/theme.js | 4 +- src/constants/timeFormat.js | 4 +- src/main/preferences.js | 12 +- src/renderer/components/Preferences.vue | 13 +- .../components/Preferences/Appearance.vue | 150 ++++++++++ .../Preferences/Appearance/Toot.vue | 274 ++++++++++++++++++ .../components/Preferences/General.vue | 99 +------ src/renderer/router/index.js | 5 + src/renderer/store/App.js | 8 +- src/renderer/store/Preferences.js | 4 +- src/renderer/store/Preferences/Appearance.js | 105 +++++++ src/renderer/store/Preferences/General.js | 80 +---- 14 files changed, 586 insertions(+), 214 deletions(-) create mode 100644 src/renderer/components/Preferences/Appearance.vue create mode 100644 src/renderer/components/Preferences/Appearance/Toot.vue create mode 100644 src/renderer/store/Preferences/Appearance.js diff --git a/src/config/locales/en/translation.json b/src/config/locales/en/translation.json index 8889e63bfe..87464df3c4 100644 --- a/src/config/locales/en/translation.json +++ b/src/config/locales/en/translation.json @@ -74,35 +74,37 @@ "title": "Preferences", "general": { "title": "General", - "appearance": "Appearance", - "theme_color": "Theme color:", + "toot": "Toot", + "visibility": { + "title": "Default visibility:", + "public": "Public", + "unlisted": "Unlisted", + "private": "Private", + "direct": "Direct" + }, + "sounds": "Sounds", + "fav_rb_sound": "Favorite and Boost:", + "toot_sound": "Toot:" + }, + "appearance": { + "title": "Appearance", + "theme_color": "Theme color", "theme": { "light": "Light", "dark": "Dark" }, - "font_size": "Font size:", + "font_size": "Font size", "display_style": { - "title": "Display style:", + "title": "Display style of username", "display_name_and_username": "Display name and username", "display_name": "Display name", "username": "Username" }, "time_format": { - "title": "Time format:", + "title": "Time format", "absolute": "Absolute", "relative": "Relative" - }, - "toot": "Toot", - "visibility": { - "title": "Default visibility:", - "public": "Public", - "unlisted": "Unlisted", - "private": "Private", - "direct": "Direct" - }, - "sounds": "Sounds", - "fav_rb_sound": "Favorite and Boost:", - "toot_sound": "Toot:" + } }, "notification": { "title": "Notification", diff --git a/src/constants/displayStyle.js b/src/constants/displayStyle.js index f1aae951d2..450de0ae5b 100644 --- a/src/constants/displayStyle.js +++ b/src/constants/displayStyle.js @@ -1,14 +1,14 @@ export default { DisplayNameAndUsername: { - name: 'preferences.general.display_style.display_name_and_username', + name: 'preferences.appearance.display_style.display_name_and_username', value: 0 }, DisplayName: { - name: 'preferences.general.display_style.display_name', + name: 'preferences.appearance.display_style.display_name', value: 1 }, Username: { - name: 'preferences.general.display_style.username', + name: 'preferences.appearance.display_style.username', value: 2 } } diff --git a/src/constants/theme.js b/src/constants/theme.js index eeaa341510..d11ded68ec 100644 --- a/src/constants/theme.js +++ b/src/constants/theme.js @@ -1,10 +1,10 @@ export default { Light: { - name: 'preferences.general.theme.light', + name: 'preferences.appearance.theme.light', key: 'light' }, Dark: { - name: 'preferences.general.theme.dark', + name: 'preferences.appearance.theme.dark', key: 'dark' } } diff --git a/src/constants/timeFormat.js b/src/constants/timeFormat.js index f00407665d..17e0fae687 100644 --- a/src/constants/timeFormat.js +++ b/src/constants/timeFormat.js @@ -1,10 +1,10 @@ export default { Absolute: { - name: 'preferences.general.time_format.absolute', + name: 'preferences.appearance.time_format.absolute', value: 0 }, Relative: { - name: 'preferences.general.time_format.relative', + name: 'preferences.appearance.time_format.relative', value: 1 } } diff --git a/src/main/preferences.js b/src/main/preferences.js index d19e4045bf..737b036f75 100644 --- a/src/main/preferences.js +++ b/src/main/preferences.js @@ -12,11 +12,7 @@ const Base = { fav_rb: true, toot: true }, - theme: Theme.Light.key, - fontSize: 14, - displayNameStyle: DisplayStyle.DisplayNameAndUsername.value, - tootVisibility: Visibility.Public.value, - timeFormat: TimeFormat.Absolute.value + tootVisibility: Visibility.Public.value }, state: { collapse: false @@ -31,6 +27,12 @@ const Base = { favourite: true, follow: true } + }, + appearance: { + theme: Theme.Light.key, + fontSize: 14, + displayNameStyle: DisplayStyle.DisplayNameAndUsername.value, + timeFormat: TimeFormat.Absolute.value } } diff --git a/src/renderer/components/Preferences.vue b/src/renderer/components/Preferences.vue index b5af2abb24..86d053b65c 100644 --- a/src/renderer/components/Preferences.vue +++ b/src/renderer/components/Preferences.vue @@ -23,15 +23,19 @@ {{ $t('preferences.general.title') }} - + + + {{ $t('preferences.appearance.title') }} + + {{ $t('preferences.notification.title') }} - + {{ $t('preferences.account.title') }} - + {{ $t('preferences.language.title') }} @@ -72,6 +76,9 @@ export default { }, language () { this.$router.push('/preferences/language') + }, + appearance () { + this.$router.push('/preferences/appearance') } } } diff --git a/src/renderer/components/Preferences/Appearance.vue b/src/renderer/components/Preferences/Appearance.vue new file mode 100644 index 0000000000..5a20f0c0c6 --- /dev/null +++ b/src/renderer/components/Preferences/Appearance.vue @@ -0,0 +1,150 @@ + + + + + diff --git a/src/renderer/components/Preferences/Appearance/Toot.vue b/src/renderer/components/Preferences/Appearance/Toot.vue new file mode 100644 index 0000000000..a117792fb5 --- /dev/null +++ b/src/renderer/components/Preferences/Appearance/Toot.vue @@ -0,0 +1,274 @@ + + + + + diff --git a/src/renderer/components/Preferences/General.vue b/src/renderer/components/Preferences/General.vue index 02c332db24..4f5a56b021 100644 --- a/src/renderer/components/Preferences/General.vue +++ b/src/renderer/components/Preferences/General.vue @@ -1,51 +1,6 @@ @@ -80,27 +72,12 @@ export default { From c58a5a74e81ab3262af841c59e67a71a1e781061 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Fri, 21 Sep 2018 00:49:17 +0900 Subject: [PATCH 3/8] refs #251 Fix design of notification setting --- src/config/locales/en/translation.json | 12 +-- .../components/Preferences/Notification.vue | 101 ++++++++---------- 2 files changed, 51 insertions(+), 62 deletions(-) diff --git a/src/config/locales/en/translation.json b/src/config/locales/en/translation.json index 965c7987ea..7bd76fae69 100644 --- a/src/config/locales/en/translation.json +++ b/src/config/locales/en/translation.json @@ -108,12 +108,12 @@ }, "notification": { "title": "Notification", - "notify": { - "title": "Notify", - "reply": "Reply:", - "reblog": "Reblog:", - "favourite": "Favourite:", - "follow": "Follow:" + "enable": { + "description": "Please set notification event.", + "reply": "Notify me when I receive reply", + "reblog": "Notify me when I receive reblog", + "favourite": "Notify me when I receive favourite", + "follow": "Notify me when I receive follow" } }, "account": { diff --git a/src/renderer/components/Preferences/Notification.vue b/src/renderer/components/Preferences/Notification.vue index 56802c9df5..95f5562954 100644 --- a/src/renderer/components/Preferences/Notification.vue +++ b/src/renderer/components/Preferences/Notification.vue @@ -1,48 +1,44 @@ @@ -106,23 +102,16 @@ export default { From 9410b4479d343d8c93c411027296f9646b6126b1 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Fri, 21 Sep 2018 08:41:55 +0900 Subject: [PATCH 5/8] refs #251 Update i18n keys in toot visibility --- src/config/locales/en/translation.json | 16 ++++++++-------- src/constants/visibility.js | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/config/locales/en/translation.json b/src/config/locales/en/translation.json index 07f4ffc1d2..83d8c264f3 100644 --- a/src/config/locales/en/translation.json +++ b/src/config/locales/en/translation.json @@ -76,14 +76,14 @@ "title": "General", "toot": { "title": "Toot", - "description": "Customize default visibility of toot." - }, - "visibility": { - "title": "Default visibility:", - "public": "Public", - "unlisted": "Unlisted", - "private": "Private", - "direct": "Direct" + "description": "Customize default visibility of toot.", + "visibility": { + "title": "Default visibility:", + "public": "Public", + "unlisted": "Unlisted", + "private": "Private", + "direct": "Direct" + } }, "sounds": { "title": "Sounds", diff --git a/src/constants/visibility.js b/src/constants/visibility.js index 38a24dfb15..d73fd4605a 100644 --- a/src/constants/visibility.js +++ b/src/constants/visibility.js @@ -1,21 +1,21 @@ export default { Public: { - name: 'preferences.general.visibility.public', + name: 'preferences.general.toot.visibility.public', value: 0, key: 'public' }, Unlisted: { - name: 'preferences.general.visibility.unlisted', + name: 'preferences.general.toot.visibility.unlisted', value: 1, key: 'unlisted' }, Private: { - name: 'preferences.general.visibility.private', + name: 'preferences.general.toot.visibility.private', value: 2, key: 'private' }, Direct: { - name: 'preferences.general.visibility.direct', + name: 'preferences.general.toot.visibility.direct', value: 3, key: 'direct' } From 2c76e89329f1030c1d6b33a58d48a3a7d70af752 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Fri, 21 Sep 2018 23:33:27 +0900 Subject: [PATCH 6/8] refs #251 Update translation files for preferences --- src/config/locales/de/translation.json | 57 +++++++++++++++---------- src/config/locales/en/translation.json | 4 +- src/config/locales/fr/translation.json | 57 +++++++++++++++---------- src/config/locales/ja/translation.json | 57 +++++++++++++++---------- src/config/locales/ko/translation.json | 58 +++++++++++++++----------- src/config/locales/pl/translation.json | 57 +++++++++++++++---------- 6 files changed, 175 insertions(+), 115 deletions(-) diff --git a/src/config/locales/de/translation.json b/src/config/locales/de/translation.json index 3f7ce575e2..5e2feeef3f 100644 --- a/src/config/locales/de/translation.json +++ b/src/config/locales/de/translation.json @@ -74,39 +74,52 @@ "title": "Einstellungen", "general": { "title": "Allgemein", - "appearance": "Anzeige", - "theme_color": "Themenfarbe:", + "toot": { + "title": "Toot", + "description": "Customize default visibility of toot.", + "visibility": { + "title": "Standard-Sichtbarkeit", + "public": "Öffenlich", + "unlisted": "Nicht gelistet", + "private": "Privat", + "direct": "Direkt" + } + }, + "sounds": { + "title": "Klänge", + "description": "Please set feedback sounds.", + "fav_rb": "When you favourite or boost the toot", + "toot": "When you post toot" + } + }, + "appearance": { + "title": "Anzeige", + "theme_color": "Themenfarbe", "theme": { "light": "Hell", "dark": "Dunkel" }, - "font_size": "Schriftgröße:", + "font_size": "Schriftgröße", "display_style": { - "title": "Anzeigestil:", + "title": "Anzeigestil", "display_name_and_username": "Anzeige- und Benutzername", "display_name": "Anzeigename", "username": "Benutzername" }, - "toot": "Toot", - "visibility": { - "title": "Standard-Sichtbarkeit:", - "public": "Öffenlich", - "unlisted": "Nicht gelistet", - "private": "Privat", - "direct": "Direkt" - }, - "sounds": "Klänge", - "fav_rb_sound": "Favorit und Boost:", - "toot_sound": "Toot:" + "time_format": { + "title": "Time format", + "absolute": "Absolute", + "relative": "Relative" + } }, "notification": { "title": "Notification", - "notify": { - "title": "Notify", - "reply": "Reply:", - "reblog": "Reblog:", - "favourite": "Favourite:", - "follow": "Follow:" + "enable": { + "description": "Pelase set notification events.", + "reply": "Notify me when I receive reply", + "reblog": "Notify me when I receive reblog", + "favourite": "Notify me when I receive favourite", + "follow": "Notify me when I receive follow" } }, "account": { @@ -124,7 +137,7 @@ }, "language": { "title": "Sprache", - "display_language": "Sprache", + "language_description": "Choose the language you would like to use with Whalebird.", "notice": "Erfordert Neustart", "confirm": { "title": "Warnung", diff --git a/src/config/locales/en/translation.json b/src/config/locales/en/translation.json index 83d8c264f3..4e1a20f01d 100644 --- a/src/config/locales/en/translation.json +++ b/src/config/locales/en/translation.json @@ -78,7 +78,7 @@ "title": "Toot", "description": "Customize default visibility of toot.", "visibility": { - "title": "Default visibility:", + "title": "Default visibility", "public": "Public", "unlisted": "Unlisted", "private": "Private", @@ -115,7 +115,7 @@ "notification": { "title": "Notification", "enable": { - "description": "Please set notification event.", + "description": "Please set notification events.", "reply": "Notify me when I receive reply", "reblog": "Notify me when I receive reblog", "favourite": "Notify me when I receive favourite", diff --git a/src/config/locales/fr/translation.json b/src/config/locales/fr/translation.json index 18a2cb9895..54ecef2cc3 100644 --- a/src/config/locales/fr/translation.json +++ b/src/config/locales/fr/translation.json @@ -74,39 +74,52 @@ "title": "Préférences", "general": { "title": "Général", - "appearance": "Apparence", - "theme_color": "Couleur du thème:", + "toot": { + "title": "Pouet", + "description": "Customize default visibility of toot.", + "visibility": { + "title": "Visibilité par défaut", + "public": "Public", + "unlisted": "Public sans être affiché sur le fil public", + "private": "Abonné⋅e⋅s uniquement", + "direct": "Message direct" + } + }, + "sounds": { + "title": "Sons", + "description": "Please set feedback sounds.", + "fav_rb": "Partages et favoris", + "toot": "Pouets" + } + }, + "appearance": { + "title": "Apparence", + "theme_color": "Couleur du thème", "theme": { "light": "Clair", "dark": "Foncé" }, - "font_size": "Taille des caractères:", + "font_size": "Taille des caractères", "display_style": { - "title": "Format d'affichage:", + "title": "Format d'affichage", "display_name_and_username": "Nom et utilisateur⋅trice", "display_name": "Nom", "username": "Utilisateur⋅trice" }, - "toot": "Pouet", - "visibility": { - "title": "Visibilité par défaut:", - "public": "Public", - "unlisted": "Public sans être affiché sur le fil public", - "private": "Abonné⋅e⋅s uniquement", - "direct": "Message direct" - }, - "sounds": "Sons", - "fav_rb_sound": "Partages et favoris:", - "toot_sound": "Pouets:" + "time_format": { + "title": "Time format", + "absolute": "Absolute", + "relative": "Relative" + } }, "notification": { "title": "Notification", - "notify": { - "title": "Notify", - "reply": "Reply:", - "reblog": "Reblog:", - "favourite": "Favourite:", - "follow": "Follow:" + "enable": { + "description": "Please set notification events.", + "reply": "Notify me when I receive reply", + "reblog": "Notify me when I receive reblog", + "favourite": "Notify me when I receive favourite", + "follow": "Notify me when I receive follow" } }, "account": { @@ -124,7 +137,7 @@ }, "language": { "title": "Langue", - "display_language": "Langue", + "language_description": "Choose the language you would like to use with Whalebird.", "notice": "Nécessite un redémarrage", "confirm": { "title": "Avertissement", diff --git a/src/config/locales/ja/translation.json b/src/config/locales/ja/translation.json index e5d71291f4..ddffadf81a 100644 --- a/src/config/locales/ja/translation.json +++ b/src/config/locales/ja/translation.json @@ -74,39 +74,52 @@ "title": "設定", "general": { "title": "一般", - "appearance": "外観", - "theme_color": "テーマカラー:", + "toot": { + "title": "トゥート", + "description": "トゥートの公開設定を変更できます", + "visibility": { + "title": "公開設定", + "public": "公開", + "unlisted": "未収載", + "private": "フォロワー限定", + "direct": "ダイレクト" + } + }, + "sounds": { + "title": "効果音", + "description": "操作時の効果音を設定", + "fav_rb": "お気に入り,ブースト時", + "toot": "トゥート時" + } + }, + "appearance": { + "title": "外観", + "theme_color": "テーマカラー", "theme": { "light": "標準", "dark": "ダーク" }, - "font_size": "フォントサイズ:", + "font_size": "フォントサイズ", "display_style": { - "title": "ユーザ名の表示形式:", + "title": "ユーザ名の表示形式", "display_name_and_username": "表示名+ユーザー名", "display_name": "表示名", "username": "ユーザー名" }, - "toot": "トゥート", - "visibility": { - "title": "公開設定:", - "public": "公開", - "unlisted": "未収載", - "private": "フォロワー限定", - "direct": "ダイレクト" - }, - "sounds": "効果音", - "fav_rb_sound": "お気に入り,ブースト時:", - "toot_sound": "トゥート時:" + "time_format": { + "title": "時間の表示形式", + "absolute": "絶対表示", + "relative": "相対表示" + } }, "notification": { "title": "通知", - "notify": { - "title": "通知設定", - "reply": "返信:", - "reblog": "ブースト:", - "favourite": "お気に入り:", - "follow": "フォロー:" + "enable": { + "description": "通知を受け取るかどうかを設定", + "reply": "返信がある時", + "reblog": "ブーストされた時", + "favourite": "お気に入りされた時", + "follow": "フォローされた時" } }, "account": { @@ -124,7 +137,7 @@ }, "language": { "title": "言語", - "display_language": "表示言語", + "language_description": "Whalebirdの表示言語を選択", "notice": "再起動が必要です", "confirm": { "title": "再起動します", diff --git a/src/config/locales/ko/translation.json b/src/config/locales/ko/translation.json index 6ef09a9de5..b4ab66417b 100644 --- a/src/config/locales/ko/translation.json +++ b/src/config/locales/ko/translation.json @@ -74,44 +74,52 @@ "title": "설정", "general": { "title": "일반", - "appearance": "외관", - "theme_color": "테마 색상:", + "toot": { + "title": "툿", + "description": "Customize default visibility of toot.", + "visibility": { + "title": "기본 공개 설정", + "public": "공개", + "unlisted": "미등록", + "private": "비공개", + "direct": "다이렉트" + } + }, + "sounds": { + "title": "사운드", + "description": "Please set feedback sounds.", + "fav_rb": "When you favorite or boost the toot", + "toot": "When you post toot" + } + }, + "appearance": { + "title": "외관", + "theme_color": "테마 색상", "theme": { "light": "밝은 테마", "dark": "어두운 테마" }, - "font_size": "폰트 크기:", + "font_size": "폰트 크기", "display_style": { - "title": "사용자 표시 형식:", + "title": "사용자 표시 형식", "display_name_and_username": "닉네임과 아이디 모두 보이기", "display_name": "닉네임만 보이기", "username": "아이디만 보이기" }, - "time_format":{ - "title": "시간 표시 형식:", + "time_format":{ + "title": "시간 표시 형식", "absolute": "고정 시각 표시", "relative": "상대 시간 표시" - }, - "toot": "툿", - "visibility": { - "title": "기본 공개 설정:", - "public": "공개", - "unlisted": "미등록", - "private": "비공개", - "direct": "다이렉트" - }, - "sounds": "사운드", - "fav_rb_sound": "즐겨찾기 및 부스트:", - "toot_sound": "툿:" + } }, "notification": { "title": "알림", - "notify": { - "title": "푸쉬 알림", - "reply": "답장:", - "reblog": "부스트:", - "favourite": "즐겨찾기:", - "follow": "즐겨찾기:" + "enable": { + "description": "Please set notification events.", + "reply": "Notify me when I receive reply", + "reblog": "Notify me when I receive reblog", + "favourite": "Notify me when I receive favourite", + "follow": "Notify me when I receive follow" } }, "account": { @@ -129,7 +137,7 @@ }, "language": { "title": "언어", - "display_language": "언어", + "language_description": "Choose the language you would like to use with Whalebird.", "notice": "재실행이 필요합니다", "confirm": { "title": "알림", diff --git a/src/config/locales/pl/translation.json b/src/config/locales/pl/translation.json index 9ff34e295a..086ed22521 100644 --- a/src/config/locales/pl/translation.json +++ b/src/config/locales/pl/translation.json @@ -74,39 +74,52 @@ "title": "Preferencje", "general": { "title": "Ogólne", - "appearance": "Wygląd", - "theme_color": "Kolor motywu:", + "toot": { + "title": "Wpisy", + "description": "Customize default visibility of toot.", + "visibility": { + "title": "Domyślna widoczność", + "public": "Publiczne", + "unlisted": "Niewidoczne", + "private": "Prywatne", + "direct": "Bezpośrednie" + } + }, + "sounds": { + "title": "Dźwięki", + "description": "Please set feedback sounds.", + "fav_rb": "Polubienie i podbicie", + "toot": "Wpisy" + } + }, + "appearance": { + "title": "Wygląd", + "theme_color": "Kolor motywu", "theme": { "light": "Jasny", "dark": "Ciemny" }, - "font_size": "Rozmiar czcionki:", + "font_size": "Rozmiar czcionki", "display_style": { - "title": "Styl wyświetlania:", + "title": "Styl wyświetlania", "display_name_and_username": "Nazwa wyświetlana i nazwa użytkownika", "display_name": "Nazwa wyświetlana", "username": "Nazwa użytkownika" }, - "toot": "Wpisy", - "visibility": { - "title": "Domyślna widoczność:", - "public": "Publiczne", - "unlisted": "Niewidoczne", - "private": "Prywatne", - "direct": "Bezpośrednie" - }, - "sounds": "Dźwięki", - "fav_rb_sound": "Polubienie i podbicie:", - "toot_sound": "Wpisy:" + "time_format": { + "title": "Time format", + "absolute": "Absolute", + "relative": "Relative" + } }, "notification": { "title": "Notification", - "notify": { - "title": "Notify", - "reply": "Reply:", - "reblog": "Reblog:", - "favourite": "Favourite:", - "follow": "Follow:" + "enable": { + "description": "Please set notification events.", + "reply": "Notify me when I receive reply", + "reblog": "Notify me when I receive reblog", + "favourite": "Notify me when I receive favourite", + "follow": "Notify me when I receive follow" } }, "account": { @@ -124,7 +137,7 @@ }, "language": { "title": "Język", - "display_language": "język", + "language_description": "Choose the language you would like to use with Whalebird.", "notice": "Wymaga ponownego uruchomienia", "confirm": { "title": "Ostrzeżenie", From a2d49ac8fe3abb2f214ddd84b217797152a6b7d4 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Fri, 21 Sep 2018 23:46:08 +0900 Subject: [PATCH 7/8] refs #251 Fix float setting --- src/renderer/components/Preferences/Appearance/Toot.vue | 3 +-- src/renderer/components/TimelineSpace/Contents/Cards/Toot.vue | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/renderer/components/Preferences/Appearance/Toot.vue b/src/renderer/components/Preferences/Appearance/Toot.vue index a117792fb5..d828364216 100644 --- a/src/renderer/components/Preferences/Appearance/Toot.vue +++ b/src/renderer/components/Preferences/Appearance/Toot.vue @@ -172,9 +172,8 @@ export default { .timestamp { font-size: var(--base-font-size); text-align: right; - width: 100%; color: #909399; - flota: right; + float: right; } } diff --git a/src/renderer/components/TimelineSpace/Contents/Cards/Toot.vue b/src/renderer/components/TimelineSpace/Contents/Cards/Toot.vue index 7d26f79292..77ab6ca7df 100644 --- a/src/renderer/components/TimelineSpace/Contents/Cards/Toot.vue +++ b/src/renderer/components/TimelineSpace/Contents/Cards/Toot.vue @@ -486,9 +486,8 @@ export default { .timestamp { font-size: var(--base-font-size); text-align: right; - width: 100%; color: #909399; - flota: right; + float: right; } } From 48907098e0aeae5c83298da60d4a97fb16018776 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Fri, 21 Sep 2018 23:50:02 +0900 Subject: [PATCH 8/8] refs #251 [stylelint] Fix style formats --- src/renderer/components/Preferences/Appearance.vue | 3 --- src/renderer/components/Preferences/Language.vue | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/renderer/components/Preferences/Appearance.vue b/src/renderer/components/Preferences/Appearance.vue index 5a20f0c0c6..37c48a42fb 100644 --- a/src/renderer/components/Preferences/Appearance.vue +++ b/src/renderer/components/Preferences/Appearance.vue @@ -135,9 +135,6 @@ export default { display: flex; align-items: flex-start; - .left { - } - .right { margin-left: 40px; } diff --git a/src/renderer/components/Preferences/Language.vue b/src/renderer/components/Preferences/Language.vue index 54bbbd1e27..d31166514d 100644 --- a/src/renderer/components/Preferences/Language.vue +++ b/src/renderer/components/Preferences/Language.vue @@ -75,6 +75,7 @@ export default { .description { margin: 24px 0 20px; } + .notice { color: #c0c4cc; font-size: 12px;