diff --git a/app/css/tl.css b/app/css/tl.css index 3501c882..1583dbd6 100644 --- a/app/css/tl.css +++ b/app/css/tl.css @@ -638,6 +638,7 @@ p:not(:last-child) { text-align: left; padding: 5px; height: 70px; + text-align: center; } .notf-exclude-btn:hover { background-color: inherit !important; diff --git a/app/js/tl/parse.js b/app/js/tl/parse.js index ca884c2e..1537a57c 100644 --- a/app/js/tl/parse.js +++ b/app/js/tl/parse.js @@ -1019,12 +1019,13 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { //このトゥート内のアクションを完了させるために、適当にIDを振る var rand = randomStr(8) //プラグイン機構 - var plugin = plugins.buttonOnToot + var pluginBOT = plugins.buttonOnToot var pluginHtml = '' - for (let target of plugin) { + for (let target of pluginBOT) { const meta = getMeta(target.content) pluginHtml = pluginHtml + `
  • ${escapeHTML(meta.name)}
  • ` } + templete = templete + `
    refresh
    ${lang.lang_layout_reconnect} + + + refresh +
    + ${lang.lang_layout_resetWidth}

    ${lang.lang_layout_headercolor}
    @@ -930,3 +935,11 @@ function leftFoldRemove(key) { localStorage.setItem('column', json) parseColumn() } +function resetWidth(key) { + var multi = localStorage.getItem('column') + var obj = JSON.parse(multi) + obj[key].width = null + var json = JSON.stringify(obj) + localStorage.setItem('column', json) + $(`#timeline_box_${key}_parentBox`).attr('style', '') +} \ No newline at end of file diff --git a/app/view/make/language/en/main.json b/app/view/make/language/en/main.json index fb72507d..0fe5a86f 100644 --- a/app/view/make/language/en/main.json +++ b/app/view/make/language/en/main.json @@ -153,6 +153,7 @@ "lang_layout_unread": "Unread", "lang_layout_tagManager": "Tag timeline manager", "lang_layout_announ": "Announcement: the counter is the number of your unread announcements. If not shown, it means announcements are all marked as read.", + "lang_layout_resetWidth": "Stretch this column", "lang_sort_gothis": "Go to this column", "lang_sort_remthis": "Delete this column", "lang_spotify_img": "Attach an album artwork", diff --git a/app/view/make/language/ja-KS/main.json b/app/view/make/language/ja-KS/main.json index 16fb80e8..8518cd4b 100644 --- a/app/view/make/language/ja-KS/main.json +++ b/app/view/make/language/ja-KS/main.json @@ -152,6 +152,7 @@ "lang_layout_unread": "未読", "lang_layout_tagManager": "タグタイムラインをいじる", "lang_layout_announ": "お知らせ: 数字は未読数や。表示されてんときはもう読んでしもたいうことやな。", + "lang_layout_resetWidth": "横幅自動調節", "lang_sort_gothis": "このカラムへ", "lang_sort_remthis": "このカラムを消す", "lang_spotify_img": "アルバムアートワークを付けるで。", diff --git a/app/view/make/language/ja/main.json b/app/view/make/language/ja/main.json index 3ff366d7..0d45163d 100644 --- a/app/view/make/language/ja/main.json +++ b/app/view/make/language/ja/main.json @@ -154,6 +154,7 @@ "lang_layout_unread": "未読", "lang_layout_tagManager": "タグタイムラインの編集", "lang_layout_announ": "お知らせ: 数字は未読数を表します。表示されていない場合は全て既読です。", + "lang_layout_resetWidth": "横幅自動調節", "lang_sort_gothis": "このカラムへ", "lang_sort_remthis": "このカラムを削除", "lang_spotify_img": "アルバムアートワークを添付します。",