@ant-design/agentic-ui 2.13.0 → 2.14.0
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/ChatLayout/style.js +17 -0
- package/package.json +1 -1
package/dist/ChatLayout/style.js
CHANGED
|
@@ -51,6 +51,7 @@ function _object_spread_props(target, source) {
|
|
|
51
51
|
return target;
|
|
52
52
|
}
|
|
53
53
|
import { resetComponent, useEditorStyleRegister } from "../Hooks/useStyle";
|
|
54
|
+
var MOBILE_PADDING = 'var(--padding-1x)';
|
|
54
55
|
var genStyle = function(token) {
|
|
55
56
|
return _define_property({}, token.componentCls, {
|
|
56
57
|
display: 'flex',
|
|
@@ -198,6 +199,22 @@ var genStyle = function(token) {
|
|
|
198
199
|
zIndex: 100,
|
|
199
200
|
borderBottomLeftRadius: 'var(--radius-xl)',
|
|
200
201
|
borderBottomRightRadius: 'var(--radius-xl)'
|
|
202
|
+
},
|
|
203
|
+
'@media (max-width: 768px)': {
|
|
204
|
+
'&-header': {
|
|
205
|
+
padding: "0 ".concat(MOBILE_PADDING)
|
|
206
|
+
},
|
|
207
|
+
'&-content': {
|
|
208
|
+
'&-scrollable': {
|
|
209
|
+
paddingTop: MOBILE_PADDING,
|
|
210
|
+
paddingLeft: MOBILE_PADDING,
|
|
211
|
+
paddingRight: MOBILE_PADDING,
|
|
212
|
+
paddingBottom: '144px'
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
'&-footer': {
|
|
216
|
+
padding: MOBILE_PADDING
|
|
217
|
+
}
|
|
201
218
|
}
|
|
202
219
|
});
|
|
203
220
|
};
|