Skip to content

Commit 5e7d5af

Browse files
Merge pull request #61 from DHTMLX/msp-import-resources-3141
[update] improve rendering of tables with msp properties
2 parents 043920e + 5c5b295 commit 5e7d5af

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

docs/guides/tags.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ sidebar_label: "Properties for importing from MS Project"
6666

6767
There are also the following supported task properties:
6868

69-
<div class="msp-task-properties">
69+
<div class="msp-ext-properties">
7070
| Text | Number | Flag | Cost | Date | Start | Finish | Duration | OutlineCode |
7171
|:---|:---|:---|:---|:---|:---|:---|:---|:---|
7272
| Text1 | Number1 | Flag1 | Cost1 | Date1 | Start1 | Finish1 | Duration1 | OutlineCode1 |
@@ -162,6 +162,7 @@ Some of the properties are calculated based on other properties, so if some of t
162162

163163
There are more supported resource properties:
164164

165+
<div class="msp-ext-properties">
165166

166167
| Text | Number | Flag | Cost | Date | Start | Finish | Duration | OutlineCode | OutlineCodeIndex |
167168
|---|---|---|---|---|---|---|---|---|---|
@@ -195,3 +196,5 @@ There are more supported resource properties:
195196
| Text28 | | | | | | | | | |
196197
| Text29 | | | | | | | | | |
197198
| Text30 | | | | | | | | | |
199+
200+
</div>

src/css/custom.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,18 @@ table {
233233
table th:first-child {
234234
width: 25%;
235235
}
236+
.msp-properties {
237+
overflow-x: auto;
238+
}
236239
.msp-properties table th {
237240
display: none;
238-
}
239-
.msp-task-properties table th:first-child {
241+
}
242+
.msp-ext-properties {
243+
overflow-x: auto;
244+
}
245+
.msp-ext-properties table th:first-child {
240246
width: 10%;
241-
}
247+
}
242248
/* end styles for tables */
243249

244250
/* styles for infoblock */

0 commit comments

Comments
 (0)