~emersion/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH gamja] Better handle long topics on small screen sizes

Details
Message ID
<20220102192409.4716-1-mail@isaacfreund.com>
DKIM signature
pass
Download raw message
Patch: +3 -0
Currently long topics will cause the buffer header to take up an
arbitrarily large percentage of the screen on mobile. Additionaly, long
words like URLS are not broken and may cause the buffer header to extend
outside of the viewport in the x direction, rendering the buffer content
unreadable.

This patch fixes these two issues by limiting the buffer header size to
20% of the viewport and breaking long words such as URLs if they would
overflow.

Fixes: https://todo.sr.ht/~emersion/gamja/129
---
 style.css | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/style.css b/style.css
index 014ae96..7835fdb 100644
--- a/style.css
+++ b/style.css
@@ -202,6 +202,9 @@ button.danger:hover {
	padding: 5px 10px;
	grid-row: 2;
	grid-column: 1;
	max-height: 20vh;
	overflow-y: auto;
	word-break: break-word;
}

#buffer-header .actions {
-- 
2.34.1

[gamja/patches/.build.yml] build success

builds.sr.ht <builds@sr.ht>
Details
Message ID
<CGVFO2ADZU4R.F31LHPBHPOEU@cirno>
In-Reply-To
<20220102192409.4716-1-mail@isaacfreund.com> (view parent)
DKIM signature
missing
Download raw message
gamja/patches/.build.yml: SUCCESS in 1m25s

[Better handle long topics on small screen sizes][0] from [Isaac Freund][1]

[0]: https://lists.sr.ht/~emersion/public-inbox/patches/27915
[1]: mail@isaacfreund.com

✓ #662145 SUCCESS gamja/patches/.build.yml https://builds.sr.ht/~emersion/job/662145
Details
Message ID
<kIqh95CTWcDp6xD-KClbCKlpqEQC3ElE2QyrjmGlVdeLydklUL8xDHJlsN1ub6Vum1BYhneTkoyCR_5enQ4WQUUCpWcmElbmkcGXwwc_CVM=@emersion.fr>
In-Reply-To
<20220102192409.4716-1-mail@isaacfreund.com> (view parent)
DKIM signature
pass
Download raw message
Pushed, thanks!
Reply to thread Export thread (mbox)