Fossil SCM
Chat button truncation fix on narrow windows. Updated change log for new chat features.
Commit
d92a8f07b87c1239e6ddff39f9944dd77c4c0217198cfece20fcaa81657532ba
Parent
c08a707a40fdb8a…
2 files changed
+2
-2
+13
-9
+2
-2
| --- src/style.chat.css | ||
| +++ src/style.chat.css | ||
| @@ -184,11 +184,11 @@ | ||
| 184 | 184 | margin-bottom: 0; |
| 185 | 185 | } |
| 186 | 186 | #chat-input-field { |
| 187 | 187 | display: inline-block/*supposed workaround for Chrome weirdness*/; |
| 188 | 188 | padding: 0.2em; |
| 189 | - flex: 50 1 85%; | |
| 189 | + flex: 2 20 auto; | |
| 190 | 190 | background-color: rgba(156,156,156,0.3); |
| 191 | 191 | overflow: auto; |
| 192 | 192 | } |
| 193 | 193 | #chat-input-field:empty::before { |
| 194 | 194 | content: attr(data-placeholder); |
| @@ -221,11 +221,11 @@ | ||
| 221 | 221 | }*/ |
| 222 | 222 | body.chat #chat-input-line.compact #chat-input-field { |
| 223 | 223 | } |
| 224 | 224 | |
| 225 | 225 | body.chat #chat-edit-buttons { |
| 226 | - flex: 1 1 auto; | |
| 226 | + flex: 0 1 auto; | |
| 227 | 227 | display: flex; |
| 228 | 228 | flex-direction: column; |
| 229 | 229 | justify-content: space-between; |
| 230 | 230 | min-width: 4em; |
| 231 | 231 | min-height: 1.5em; |
| 232 | 232 |
| --- src/style.chat.css | |
| +++ src/style.chat.css | |
| @@ -184,11 +184,11 @@ | |
| 184 | margin-bottom: 0; |
| 185 | } |
| 186 | #chat-input-field { |
| 187 | display: inline-block/*supposed workaround for Chrome weirdness*/; |
| 188 | padding: 0.2em; |
| 189 | flex: 50 1 85%; |
| 190 | background-color: rgba(156,156,156,0.3); |
| 191 | overflow: auto; |
| 192 | } |
| 193 | #chat-input-field:empty::before { |
| 194 | content: attr(data-placeholder); |
| @@ -221,11 +221,11 @@ | |
| 221 | }*/ |
| 222 | body.chat #chat-input-line.compact #chat-input-field { |
| 223 | } |
| 224 | |
| 225 | body.chat #chat-edit-buttons { |
| 226 | flex: 1 1 auto; |
| 227 | display: flex; |
| 228 | flex-direction: column; |
| 229 | justify-content: space-between; |
| 230 | min-width: 4em; |
| 231 | min-height: 1.5em; |
| 232 |
| --- src/style.chat.css | |
| +++ src/style.chat.css | |
| @@ -184,11 +184,11 @@ | |
| 184 | margin-bottom: 0; |
| 185 | } |
| 186 | #chat-input-field { |
| 187 | display: inline-block/*supposed workaround for Chrome weirdness*/; |
| 188 | padding: 0.2em; |
| 189 | flex: 2 20 auto; |
| 190 | background-color: rgba(156,156,156,0.3); |
| 191 | overflow: auto; |
| 192 | } |
| 193 | #chat-input-field:empty::before { |
| 194 | content: attr(data-placeholder); |
| @@ -221,11 +221,11 @@ | |
| 221 | }*/ |
| 222 | body.chat #chat-input-line.compact #chat-input-field { |
| 223 | } |
| 224 | |
| 225 | body.chat #chat-edit-buttons { |
| 226 | flex: 0 1 auto; |
| 227 | display: flex; |
| 228 | flex-direction: column; |
| 229 | justify-content: space-between; |
| 230 | min-width: 4em; |
| 231 | min-height: 1.5em; |
| 232 |
+13
-9
| --- www/changes.wiki | ||
| +++ www/changes.wiki | ||
| @@ -36,19 +36,23 @@ | ||
| 36 | 36 | * The [/help?cmd=wiki|wiki list command] no longer lists "deleted" |
| 37 | 37 | pages by default. Use the new <tt>--all</tt> option to include deleted |
| 38 | 38 | pages in the output. |
| 39 | 39 | * The [/help?cmd=all|fossil all git status] command only shows reports for |
| 40 | 40 | the subset of repositories that have a configured Git export. |
| 41 | - * Enhanced the [/help?cmd=/chat|/chat page] configuration and added the ability | |
| 42 | - for a repository administrator to [./chat.md#notifications|extend the | |
| 43 | - selection of notification sounds via unversioned files]. | |
| 44 | - * The [/help?cmd=/chat|/chat] messages now use fossil's full complement of | |
| 45 | - markdown features, instead of the prior small subset of markup it | |
| 46 | - previously supported. This retroactively applies to all chat messages, | |
| 47 | - as they are markdown-processed when they are sent instead of when they | |
| 48 | - are saved. Added a preview mode so messages can be previewed before | |
| 49 | - being sent. See [./chat.md#usage|the chat docs] for more details. | |
| 41 | + * The [/help?cmd=/chat|/chat] configuration was reimplemented and | |
| 42 | + provides new options, including the ability for a repository | |
| 43 | + administrator to | |
| 44 | + [./chat.md#notifications|extend the selection of notification sounds] | |
| 45 | + using unversioned files. | |
| 46 | + * Chat now uses fossil's full complement of markdown features, | |
| 47 | + instead of the prior small subset of markup it previously supported. | |
| 48 | + This retroactively applies to all chat messages, as they are | |
| 49 | + markdown-processed when they are sent instead of when they | |
| 50 | + are saved. | |
| 51 | + * Added a chat message preview mode so messages can be previewed | |
| 52 | + before being sent. Similarly, added a per-message ability to view | |
| 53 | + the raw un-parsed message text. | |
| 50 | 54 | * The hotkey to activate preview mode in [/help?cmd=/wikiedit|/wikiedit], |
| 51 | 55 | [/help?cmd=/fileedit|/fileedit], and [/help?cmd=/pikchrshow|/pikchrshow] |
| 52 | 56 | was changed from ctrl-enter to shift-enter in order to align with |
| 53 | 57 | [/help?cmd=/chat|/chat]'s new preview feature and related future |
| 54 | 58 | changes. |
| 55 | 59 |
| --- www/changes.wiki | |
| +++ www/changes.wiki | |
| @@ -36,19 +36,23 @@ | |
| 36 | * The [/help?cmd=wiki|wiki list command] no longer lists "deleted" |
| 37 | pages by default. Use the new <tt>--all</tt> option to include deleted |
| 38 | pages in the output. |
| 39 | * The [/help?cmd=all|fossil all git status] command only shows reports for |
| 40 | the subset of repositories that have a configured Git export. |
| 41 | * Enhanced the [/help?cmd=/chat|/chat page] configuration and added the ability |
| 42 | for a repository administrator to [./chat.md#notifications|extend the |
| 43 | selection of notification sounds via unversioned files]. |
| 44 | * The [/help?cmd=/chat|/chat] messages now use fossil's full complement of |
| 45 | markdown features, instead of the prior small subset of markup it |
| 46 | previously supported. This retroactively applies to all chat messages, |
| 47 | as they are markdown-processed when they are sent instead of when they |
| 48 | are saved. Added a preview mode so messages can be previewed before |
| 49 | being sent. See [./chat.md#usage|the chat docs] for more details. |
| 50 | * The hotkey to activate preview mode in [/help?cmd=/wikiedit|/wikiedit], |
| 51 | [/help?cmd=/fileedit|/fileedit], and [/help?cmd=/pikchrshow|/pikchrshow] |
| 52 | was changed from ctrl-enter to shift-enter in order to align with |
| 53 | [/help?cmd=/chat|/chat]'s new preview feature and related future |
| 54 | changes. |
| 55 |
| --- www/changes.wiki | |
| +++ www/changes.wiki | |
| @@ -36,19 +36,23 @@ | |
| 36 | * The [/help?cmd=wiki|wiki list command] no longer lists "deleted" |
| 37 | pages by default. Use the new <tt>--all</tt> option to include deleted |
| 38 | pages in the output. |
| 39 | * The [/help?cmd=all|fossil all git status] command only shows reports for |
| 40 | the subset of repositories that have a configured Git export. |
| 41 | * The [/help?cmd=/chat|/chat] configuration was reimplemented and |
| 42 | provides new options, including the ability for a repository |
| 43 | administrator to |
| 44 | [./chat.md#notifications|extend the selection of notification sounds] |
| 45 | using unversioned files. |
| 46 | * Chat now uses fossil's full complement of markdown features, |
| 47 | instead of the prior small subset of markup it previously supported. |
| 48 | This retroactively applies to all chat messages, as they are |
| 49 | markdown-processed when they are sent instead of when they |
| 50 | are saved. |
| 51 | * Added a chat message preview mode so messages can be previewed |
| 52 | before being sent. Similarly, added a per-message ability to view |
| 53 | the raw un-parsed message text. |
| 54 | * The hotkey to activate preview mode in [/help?cmd=/wikiedit|/wikiedit], |
| 55 | [/help?cmd=/fileedit|/fileedit], and [/help?cmd=/pikchrshow|/pikchrshow] |
| 56 | was changed from ctrl-enter to shift-enter in order to align with |
| 57 | [/help?cmd=/chat|/chat]'s new preview feature and related future |
| 58 | changes. |
| 59 |