Skip to content

Commit afc6d6e

Browse files
authored
Merge pull request #54 from Azure-Samples/update-table-data
Fix issue with table data display
2 parents 9d0fcbd + fcd8c57 commit afc6d6e

3 files changed

Lines changed: 16 additions & 22 deletions

File tree

1-Authentication/0-sign-in-vanillajs/App/public/index.html

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,16 @@ <h5 id="title-div" class="card-header text-center">
3333
</h5>
3434
<br />
3535
<h5 id="welcome-div" class="card-header text-center d-none"></h5>
36-
<div class="table-responsive">
37-
<table id="table-div" class="table table-striped table-bordered d-none" id="table">
38-
<thead id="table-head-div">
39-
<tr>
40-
<th>Claim Type</th>
41-
<th>Value</th>
42-
<th>Description</th>
43-
</tr>
44-
</thead>
45-
<tbody id="table-body-div"></tbody>
46-
</table>
47-
</div>
36+
<table id="table-div" class="table table-striped table-bordered d-none" id="table">
37+
<thead id="table-head-div">
38+
<tr>
39+
<th>Claim Type</th>
40+
<th>Value</th>
41+
<th>Description</th>
42+
</tr>
43+
</thead>
44+
<tbody id="table-body-div"></tbody>
45+
</table>
4846
</div>
4947
</div>
5048
<!-- importing bootstrap.js and supporting js libraries -->

1-Authentication/0-sign-in-vanillajs/App/public/styles.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
padding: .5rem 1rem !important;
33
}
44

5-
.table-responsive {
6-
max-height: 38rem !important;
7-
padding-left: 50px;
8-
padding-right: 50px;
5+
td {
6+
word-break: break-word;
7+
max-width: 20rem;
98
}

1-Authentication/1-sign-in-react/SPA/src/styles/App.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,9 @@ footer {
5858
float: right;
5959
}
6060

61-
.tableColumn {
62-
word-break: break-all;
63-
}
64-
65-
.table-responsive {
66-
max-height: 37rem !important;
61+
td {
62+
word-break: break-word;
63+
max-width: 34rem;
6764
}
6865

6966
.warningMessage {

0 commit comments

Comments
 (0)