@linktr.ee/messaging-react 3.12.3 → 3.12.4-rc-1784092186

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linktr.ee/messaging-react",
3
- "version": "3.12.3",
3
+ "version": "3.12.4-rc-1784092186",
4
4
  "description": "React messaging components built on messaging-core for web applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@linktr.ee/component-library": "11.8.6",
53
- "@linktr.ee/messaging-core": "^2.2.0",
53
+ "@linktr.ee/messaging-core": "2.3.0-rc-1784092186",
54
54
  "@phosphor-icons/react": "^2.1.10"
55
55
  },
56
56
  "devDependencies": {
package/src/styles.css CHANGED
@@ -329,6 +329,18 @@
329
329
  position: relative;
330
330
  }
331
331
 
332
+ /* Reserve 56px on the open side so text bubbles don't span full width
333
+ (MES-1278). Scoped to --has-text so fixed 280px attachment/link cards
334
+ aren't forced past the mweb channel width. */
335
+ .str-chat__message--has-text {
336
+ padding-inline-end: var(--str-chat__spacing-14);
337
+ }
338
+
339
+ .str-chat__message--me.str-chat__message--has-text {
340
+ padding-inline-end: 0;
341
+ padding-inline-start: var(--str-chat__spacing-14);
342
+ }
343
+
332
344
  .str-chat__li .str-chat__message-inner {
333
345
  grid-column-gap: 4px;
334
346
  }