dockview-react 4.1.0 → 4.2.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.
@@ -1,7 +1,6 @@
1
1
  .dv-scrollable {
2
2
  position: relative;
3
3
  overflow: hidden;
4
- width: 100%;
5
4
  }
6
5
  .dv-scrollable .dv-scrollbar-horizontal {
7
6
  position: absolute;
@@ -1100,7 +1099,7 @@
1100
1099
  .dv-tabs-container {
1101
1100
  display: flex;
1102
1101
  height: 100%;
1103
- overflow: hidden;
1102
+ overflow: auto;
1104
1103
  scrollbar-width: thin;
1105
1104
  /* Track */
1106
1105
  /* Handle */
@@ -1126,6 +1125,10 @@
1126
1125
  background: var(--dv-tabs-container-scrollbar-color);
1127
1126
  }
1128
1127
 
1128
+ .dv-scrollable > .dv-tabs-container {
1129
+ overflow: hidden;
1130
+ }
1131
+
1129
1132
  .dv-tab {
1130
1133
  -webkit-user-drag: element;
1131
1134
  outline: none;
@@ -1162,6 +1165,9 @@
1162
1165
  height: var(--dv-tabs-and-actions-container-height);
1163
1166
  font-size: var(--dv-tabs-and-actions-container-font-size);
1164
1167
  }
1168
+ .dv-tabs-and-actions-container.dv-single-tab.dv-full-width-single-tab .dv-scrollable {
1169
+ flex-grow: 1;
1170
+ }
1165
1171
  .dv-tabs-and-actions-container.dv-single-tab.dv-full-width-single-tab .dv-tabs-container {
1166
1172
  flex-grow: 1;
1167
1173
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dockview-react",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "Zero dependency layout manager supporting tabs, grids and splitviews",
5
5
  "keywords": [
6
6
  "splitview",
@@ -54,6 +54,6 @@
54
54
  "test:cov": "cross-env ../../node_modules/.bin/jest --selectProjects dockview-react --coverage"
55
55
  },
56
56
  "dependencies": {
57
- "dockview": "^4.1.0"
57
+ "dockview": "^4.2.0"
58
58
  }
59
59
  }