mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
Better handle long topics on small screen sizes
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
This commit is contained in:
parent
0b59cf92b9
commit
690845c2af
1 changed files with 3 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue