shadok-ai 0.17.58 → 0.17.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/public/index.html +16 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shadok-ai",
3
- "version": "0.17.58",
3
+ "version": "0.17.59",
4
4
  "main": "dist/session.js",
5
5
  "scripts": {
6
6
  "test": "node --import tsx --test --test-timeout=120000 test/*.ts context/*/test/*.test.mjs",
package/public/index.html CHANGED
@@ -3053,6 +3053,22 @@
3053
3053
  .cmp-attach { border-radius: 50%; }
3054
3054
  #composer button.primary { border-radius: 22px; }
3055
3055
 
3056
+ /* A narrow composer: the field gets the whole first row, the buttons a row of
3057
+ their own beneath it. On one row, four buttons + Send left the textarea
3058
+ ~110px wide — the placeholder wrapped mid-word and was clipped. Keyed on the
3059
+ COMPOSER's width, not the viewport's: on desktop the chat pane is narrowed by
3060
+ the rail, the agents column and the engine room, so a wide window can still
3061
+ hold a narrow composer. */
3062
+ #composer { container: composer / inline-size; }
3063
+ @container composer (max-width: 560px) {
3064
+ #composer .cmp-mic-msg { order: -3; }
3065
+ #composer .cmp-atts { order: -2; }
3066
+ #composer textarea { order: -1; flex-basis: 100%; }
3067
+ #composer .cmp-mic { margin-left: auto; }
3068
+ #composer .cmp-attach, #composer .cmp-mic, #composer #sendBtn { height: 38px; }
3069
+ #composer .cmp-attach { width: 38px; }
3070
+ }
3071
+
3056
3072
  /* Floating menus: lifted, not outlined. */
3057
3073
  #moreMenu, #tabMenu, #verMenu, .slash-menu {
3058
3074
  border-color: transparent; border-radius: 14px;