@jant/core 0.4.5 → 0.5.1
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/dist/app-BpyntjN7.js +6 -0
- package/dist/{app-Q9B-Xus9.js → app-D_ke5q_u.js} +16 -16
- package/dist/client/.vite/manifest.json +3 -3
- package/dist/client/_assets/{client-CTO70M2K.js → client-DkbGkmgp.js} +1 -1
- package/dist/client/_assets/{client-l7_jf4E5.css → client-Hxj-LpVt.css} +1 -1
- package/dist/client/_assets/{client-auth-Cz86vnqb.js → client-auth-BRrao4p4.js} +2 -2
- package/dist/{export-B7P3YE3x.js → export-I9XFTWyO.js} +1 -1
- package/dist/{github-sync-LvT27JR9.js → github-sync-C0Fi4LKt.js} +2 -2
- package/dist/{github-sync-Yg2zs-iC.js → github-sync-DBAwA3H9.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/node.js +4 -4
- package/package.json +1 -1
- package/src/client/components/__tests__/jant-compose-dialog.test.ts +14 -0
- package/src/client/components/__tests__/jant-compose-editor.test.ts +46 -2
- package/src/client/components/jant-compose-editor.ts +4 -5
- package/src/lib/schemas.ts +2 -2
- package/src/services/export-theme/assets/client-site.css +1 -1
- package/src/styles/site-media.css +6 -0
- package/src/styles/ui.css +9 -3
- package/dist/app-C4fUsDJp.js +0 -6
package/src/styles/ui.css
CHANGED
|
@@ -5167,6 +5167,7 @@
|
|
|
5167
5167
|
padding: 6px 10px;
|
|
5168
5168
|
display: flex;
|
|
5169
5169
|
align-items: center;
|
|
5170
|
+
flex-shrink: 0;
|
|
5170
5171
|
gap: 4px;
|
|
5171
5172
|
background-color: var(--compose-paper-bg);
|
|
5172
5173
|
}
|
|
@@ -6761,7 +6762,7 @@
|
|
|
6761
6762
|
.compose-attachment-img {
|
|
6762
6763
|
display: block;
|
|
6763
6764
|
border-radius: var(--media-radius, 0.5rem);
|
|
6764
|
-
max-height: min(
|
|
6765
|
+
max-height: min(160px, 18dvh);
|
|
6765
6766
|
object-fit: contain;
|
|
6766
6767
|
}
|
|
6767
6768
|
|
|
@@ -6798,7 +6799,7 @@
|
|
|
6798
6799
|
/* Single image: constrain to container width */
|
|
6799
6800
|
.compose-attachment:only-child .compose-attachment-img {
|
|
6800
6801
|
max-width: 100%;
|
|
6801
|
-
max-height: min(
|
|
6802
|
+
max-height: min(200px, 22dvh);
|
|
6802
6803
|
}
|
|
6803
6804
|
|
|
6804
6805
|
.compose-attachment:only-child .compose-attachment-preview-fallback {
|
|
@@ -7181,6 +7182,7 @@
|
|
|
7181
7182
|
min-height: 0;
|
|
7182
7183
|
display: flex;
|
|
7183
7184
|
flex-direction: column;
|
|
7185
|
+
align-self: stretch;
|
|
7184
7186
|
overflow: hidden;
|
|
7185
7187
|
position: relative;
|
|
7186
7188
|
}
|
|
@@ -7191,6 +7193,10 @@
|
|
|
7191
7193
|
}
|
|
7192
7194
|
|
|
7193
7195
|
.compose-editor-row .compose-attachments-dock {
|
|
7196
|
+
flex: 0 1 auto;
|
|
7197
|
+
min-height: 0;
|
|
7198
|
+
max-height: min(240px, 34dvh);
|
|
7199
|
+
overflow-y: auto;
|
|
7194
7200
|
padding-inline: 0;
|
|
7195
7201
|
background: transparent;
|
|
7196
7202
|
}
|
|
@@ -7234,7 +7240,7 @@
|
|
|
7234
7240
|
}
|
|
7235
7241
|
|
|
7236
7242
|
.compose-reply-context.expanded {
|
|
7237
|
-
max-height: 400px;
|
|
7243
|
+
max-height: min(400px, 35dvh);
|
|
7238
7244
|
overflow-y: auto;
|
|
7239
7245
|
}
|
|
7240
7246
|
|