@opensumi/ide-main-layout 2.20.1 → 2.20.2

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.
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importDefault(require("react"));
6
6
  const constants_1 = require("@opensumi/ide-core-browser/lib/layout/constants");
7
7
  const styles_module_less_1 = tslib_1.__importDefault(require("./styles.module.less"));
8
- exports.TitleBar = react_1.default.memo((props) => (react_1.default.createElement("div", { className: styles_module_less_1.default.titlebar, style: { height: constants_1.LAYOUT_VIEW_SIZE.PANEL_TITLEBAR_HEIGHT - 2 } },
8
+ exports.TitleBar = react_1.default.memo((props) => (react_1.default.createElement("div", { className: styles_module_less_1.default.titlebar, style: { height: constants_1.LAYOUT_VIEW_SIZE.PANEL_TITLEBAR_HEIGHT - 1 } },
9
9
  react_1.default.createElement("h1", null, props.title),
10
10
  props.menubar || null)));
11
11
  exports.TitleBar.displayName = 'TitleBar';
@@ -63,7 +63,16 @@
63
63
  .tab_panel {
64
64
  position: relative;
65
65
  flex: 1;
66
- border-top: 1px solid var(--sideBar-border);
66
+ &::before {
67
+ width: 100%;
68
+ height: 1px;
69
+ left: 0;
70
+ top: 0;
71
+ background-color: var(--sideBar-border);
72
+ position: absolute;
73
+ z-index: 2;
74
+ content: ' ';
75
+ }
67
76
  }
68
77
 
69
78
  .tab_panel_hidden {
@@ -172,8 +181,8 @@
172
181
  background-color: var(--kt-panelTitle-background);
173
182
  user-select: none;
174
183
  align-items: center;
175
- border-bottom: 1px solid var(--sideBar-border);
176
184
  box-sizing: content-box;
185
+ position: relative;
177
186
  h1 {
178
187
  margin: 0;
179
188
  font-size: 12px;
@@ -183,7 +192,18 @@
183
192
  color: var(--kt-panel-secondaryForeground);
184
193
  white-space: nowrap;
185
194
  }
195
+ &::before {
196
+ width: 100%;
197
+ height: 1px;
198
+ left: 0;
199
+ bottom: 0;
200
+ background-color: var(--sideBar-border);
201
+ position: absolute;
202
+ z-index: 9;
203
+ content: ' ';
204
+ }
186
205
  }
206
+
187
207
  :global(.bottom-slot) {
188
208
  height: 100%;
189
209
  .tab_bar {
@@ -381,7 +401,6 @@
381
401
  background-size: cover;
382
402
  &:hover {
383
403
  transform: scale(1);
384
- color: var(--activityBar-activeForeground);
385
404
  }
386
405
  &:last-child {
387
406
  margin-bottom: 18px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensumi/ide-main-layout",
3
- "version": "2.20.1",
3
+ "version": "2.20.2",
4
4
  "description": "@opensumi/ide-main-layout",
5
5
  "files": [
6
6
  "lib"
@@ -17,13 +17,13 @@
17
17
  "url": "git@github.com:opensumi/core.git"
18
18
  },
19
19
  "dependencies": {
20
- "@opensumi/ide-components": "2.20.1",
21
- "@opensumi/ide-core-common": "2.20.1"
20
+ "@opensumi/ide-components": "2.20.2",
21
+ "@opensumi/ide-core-common": "2.20.2"
22
22
  },
23
23
  "devDependencies": {
24
- "@opensumi/ide-core-browser": "2.20.1",
24
+ "@opensumi/ide-core-browser": "2.20.2",
25
25
  "@opensumi/ide-dev-tool": "^1.3.1",
26
- "@opensumi/ide-theme": "2.20.1"
26
+ "@opensumi/ide-theme": "2.20.2"
27
27
  },
28
- "gitHead": "04b2bbf2f279ccf1eba1a1f5c18238fe871db490"
28
+ "gitHead": "26d255a05c956754ee68dbacde738a5a82e2891b"
29
29
  }