From 6a6058347247eeac18172526d0e0a857df70d8fa Mon Sep 17 00:00:00 2001 From: Freeplay Date: Mon, 26 Feb 2024 12:13:34 -0500 Subject: [PATCH] 1.10.3 - Fixed misplaced character count in RTL - Fix post button being unclickable on long posts on mobile & glitch-soc --- glitch-fixes.css | 3 +++ modern.css | 6 +++++- modern.user.css | 17 ++++++++++++----- 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/glitch-fixes.css b/glitch-fixes.css index c8df776..96f2b7f 100644 --- a/glitch-fixes.css +++ b/glitch-fixes.css @@ -22,6 +22,9 @@ body.app-body.flavour-glitch > #mastodon .character-counter__wrapper span { font-size: 0.9em; font-weight: 500; } +body.app-body.flavour-glitch > #mastodon .compose-form__highlightable { + margin-bottom: 50px !important; +} body.app-body.flavour-glitch > #mastodon .compose-form__submit { position: absolute; right: -12px; diff --git a/modern.css b/modern.css index f2f96d1..d2a5f4a 100644 --- a/modern.css +++ b/modern.css @@ -653,6 +653,9 @@ a:focus-visible, #mastodon .compose-form__highlightable #cw-spoiler-input { border-radius: 0 !important; } +#mastodon .compose-form__highlightable textarea { + background: none !important; +} #mastodon .compose-form__highlightable > .compose-form__footer { gap: 12px; } @@ -682,7 +685,7 @@ a:focus-visible, } #mastodon .compose-form__highlightable > .compose-form__footer .character-counter { position: absolute; - right: 0; + inset-inline-end: 0; bottom: calc(100% + 12px); padding: 4px; font-size: 13px; @@ -3916,6 +3919,7 @@ a:focus-visible, } #mastodon .compose-form { padding: 10px; + margin-bottom: 100px; } #mastodon .compose-form::before { content: ""; diff --git a/modern.user.css b/modern.user.css index 6788836..b4035b3 100644 --- a/modern.user.css +++ b/modern.user.css @@ -6,14 +6,14 @@ // *://domain.tld/* -/* Update 1.10.2 -- Newer compose form styled, fixed overflow counter in glitch-soc -- Fix media alt button +/* Update 1.10.3 +- Fixed misplaced character count in RTL +- Fix post button being unclickable on long posts on mobile & glitch-soc */ /* ==UserStyle== @name Mastodon Modern -@version 1.10.2 +@version 1.10.3 @description Drastically improves the look & feel of Mastodon @updateURL https://codeberg.org/Freeplay/Mastodon-Modern/raw/branch/main/modern.user.css @homepageURL https://codeberg.org/Freeplay/Mastodon-Modern @@ -519,6 +519,9 @@ #cw-spoiler-input { border-radius 0 !important } + textarea { + background none !important + } > .compose-form__footer { gap 12px .compose-form__dropdowns { @@ -552,7 +555,7 @@ } .character-counter { position absolute - right 0 + inset-inline-end 0 bottom calc(100% + 12px) padding 4px font-size 13px @@ -3117,6 +3120,7 @@ // Compose .compose-form { padding 10px + margin-bottom 100px &::before { content "" position absolute @@ -3623,6 +3627,9 @@ font-weight 500 } } + .compose-form__highlightable { + margin-bottom 50px !important + } .compose-form__submit { position absolute right -12px