Skip to content

Commit d3c974c

Browse files
committed
update html and css display for table
1 parent 982266b commit d3c974c

2 files changed

Lines changed: 25 additions & 20 deletions

File tree

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

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,29 @@
2424
<button type="button" id="signOut" class="btn btn-success d-none" onclick="signOut()">Sign-out</button>
2525
</div>
2626
</nav>
27-
<br>
28-
<h5 id="title-div" class="card-header text-center">Vanilla JavaScript single-page application secured with MSAL.js
29-
</h5>
30-
<h5 id="welcome-div" class="card-header text-center d-none"></h5>
31-
<br>
32-
<div class="table-responsive-ms" id="table">
33-
<table id="table-div" class="table table-striped d-none">
34-
<thead id="table-head-div">
35-
<tr>
36-
<th>Claim Type</th>
37-
<th>Value</th>
38-
<th>Description</th>
39-
</tr>
40-
</thead>
41-
<tbody id="table-body-div">
42-
</tbody>
43-
</table>
44-
</div>
27+
<br />
28+
<div class="container">
29+
<div class="row">
30+
<br />
31+
<h5 id="title-div" class="card-header text-center">
32+
Vanilla JavaScript single-page application secured with MSAL.js
33+
</h5>
34+
<br />
35+
<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>
48+
</div>
49+
</div>
4550
<!-- importing bootstrap.js and supporting js libraries -->
4651
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
4752
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous">

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

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

5-
.table-responsive-ms {
6-
max-height: 800px !important;
5+
.table-responsive {
6+
max-height: 38rem !important;
77
padding-left: 50px;
88
padding-right: 50px;
99
}

0 commit comments

Comments
 (0)