Fossil SCM
Fixed chat-view scrolling, which was broken by a flexbox settings change in [71fbd1b01ba42ee6].
Commit
e7e2e5e3c063503c73642cf796292460ce622c0b820f5341985c65a22f211673
Parent
d92a8f07b87c123…
1 file changed
+3
-2
+3
-2
| --- src/style.chat.css | ||
| +++ src/style.chat.css | ||
| @@ -337,12 +337,13 @@ | ||
| 337 | 337 | body.chat #chat-drop-details img { |
| 338 | 338 | max-width: 45%; |
| 339 | 339 | max-height: 45%; |
| 340 | 340 | } |
| 341 | 341 | body.chat .chat-view { |
| 342 | - flex: 20 0 auto | |
| 343 | - /*ensure that these grow more than the non-.chat-view elements*/; | |
| 342 | + flex: 20 1 auto | |
| 343 | + /*ensure that these grow more than the non-.chat-view elements. | |
| 344 | + Note that setting flex shrink to 0 breaks/disables scrolling!*/; | |
| 344 | 345 | margin-bottom: 0.2em; |
| 345 | 346 | } |
| 346 | 347 | body.chat #chat-config, |
| 347 | 348 | body.chat #chat-preview { |
| 348 | 349 | /* /chat configuration widget */ |
| 349 | 350 |
| --- src/style.chat.css | |
| +++ src/style.chat.css | |
| @@ -337,12 +337,13 @@ | |
| 337 | body.chat #chat-drop-details img { |
| 338 | max-width: 45%; |
| 339 | max-height: 45%; |
| 340 | } |
| 341 | body.chat .chat-view { |
| 342 | flex: 20 0 auto |
| 343 | /*ensure that these grow more than the non-.chat-view elements*/; |
| 344 | margin-bottom: 0.2em; |
| 345 | } |
| 346 | body.chat #chat-config, |
| 347 | body.chat #chat-preview { |
| 348 | /* /chat configuration widget */ |
| 349 |
| --- src/style.chat.css | |
| +++ src/style.chat.css | |
| @@ -337,12 +337,13 @@ | |
| 337 | body.chat #chat-drop-details img { |
| 338 | max-width: 45%; |
| 339 | max-height: 45%; |
| 340 | } |
| 341 | body.chat .chat-view { |
| 342 | flex: 20 1 auto |
| 343 | /*ensure that these grow more than the non-.chat-view elements. |
| 344 | Note that setting flex shrink to 0 breaks/disables scrolling!*/; |
| 345 | margin-bottom: 0.2em; |
| 346 | } |
| 347 | body.chat #chat-config, |
| 348 | body.chat #chat-preview { |
| 349 | /* /chat configuration widget */ |
| 350 |