@electerm/electerm-react 3.15.171 → 3.15.173

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.
@@ -25,7 +25,7 @@ export default function NoSessionPanel ({ height, onNewTab, onNewSsh, batch }) {
25
25
  ? (
26
26
  <Button
27
27
  onClick={onNewTab}
28
- className='mg1r mg1b add-new-tab-btn'
28
+ className='add-new-tab-btn'
29
29
  >
30
30
  {e('newTab')}
31
31
  </Button>
@@ -33,17 +33,15 @@ export default function NoSessionPanel ({ height, onNewTab, onNewSsh, batch }) {
33
33
  : null
34
34
  return (
35
35
  <div className='no-sessions electerm-logo-bg' {...props}>
36
- <div className='pd1b'>
36
+ <div className='no-session-btns'>
37
37
  {newTabDom}
38
38
  <Button
39
39
  onClick={onNewSsh}
40
- className='mg1r mg1b'
41
40
  >
42
41
  {e('newBookmark')}
43
42
  </Button>
44
43
  <Button
45
44
  onClick={handleCreateAIBookmark}
46
- className='mg1r mg1b'
47
45
  icon={<RobotOutlined />}
48
46
  >
49
47
  {e('createBookmarkByAI')}
@@ -8,6 +8,13 @@
8
8
  right 0
9
9
  bottom 0
10
10
  z-index 11
11
+ .no-session-btns
12
+ display flex
13
+ flex-wrap wrap
14
+ justify-content center
15
+ align-items center
16
+ gap 8px
17
+ padding-bottom 8px
11
18
  .no-session-history
12
19
  position absolute
13
20
  top 320px
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@electerm/electerm-react",
3
- "version": "3.15.171",
3
+ "version": "3.15.173",
4
4
  "description": "react components src for electerm",
5
5
  "main": "./client/components/main/main.jsx",
6
6
  "license": "MIT",