Skip to content

Commit 56ff990

Browse files
committed
Updated formatting and styles
1 parent 022f1b3 commit 56ff990

File tree

4 files changed

+23
-7
lines changed

4 files changed

+23
-7
lines changed

src/Pages/Home/JwtDecoder/JwtDecoder.cshtml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page "~/jwt-decoder"
1+
@page "~/jwt-decoder"
22
@model IdentityServerHost.Pages.Home.JwtDecoder
33

44
<!-- Google Tag Manager (noscript) -->
@@ -59,11 +59,11 @@
5959
<div class="col-jwt col-12 col-md-6 pb-4 pb-md-0">
6060
<h3>Decoded JWT</h3>
6161
<div class="jwt-decoded-output">
62-
<h4>Header</h4>
63-
<pre id="jwt-header" class="jwt-decoded jwt-header bg-dark p-2">&nbsp;</pre>
64-
<h4>Payload</h4>
65-
<pre id="jwt-payload" class="jwt-decoded jwt-payload bg-dark p-2">&nbsp;</pre>
66-
<h4>Signature</h4>
62+
<h4 class="pt-1">Header</h4>
63+
<div id="jwt-header" class="jwt-decoded jwt-header bg-dark p-2">&nbsp;</div>
64+
<h4 class="pt-1">Payload</h4>
65+
<div id="jwt-payload" class="jwt-decoded jwt-payload bg-dark p-2">&nbsp;</div>
66+
<h4 class="pt-1">Signature</h4>
6767
<pre id="jwt-signature" class="jwt-decoded jwt-signature bg-dark p-2">&nbsp;</pre>
6868
<div class="jwt-signature-validation-result alert alert-success align-items-center d-none">
6969
<i class="glyphicon glyphicon-ok-sign" style="font-size: 3em" title="Valid signature"></i>

src/wwwroot/css/site.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,10 @@ a.navbar-brand .icon-banner {
133133
.jwt-decoder-container .jwt-input-editable .text-warning {
134134
color: rgb(245.7438016529, 201.7768595041, 124.2561983471) !important;
135135
}
136+
.jwt-decoder-container .json-content {
137+
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
138+
font-size: 1em;
139+
}
140+
.jwt-decoder-container .jwt-signature {
141+
font-size: 1em;
142+
}

src/wwwroot/css/site.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/wwwroot/css/site.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,13 @@ a.navbar-brand {
155155
color: lighten(#efa31d, 20%) !important;
156156
}
157157
}
158+
159+
.json-content {
160+
font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
161+
font-size: 1em;
162+
}
163+
164+
.jwt-signature {
165+
font-size: 1em;
166+
}
158167
}

0 commit comments

Comments
 (0)