Skip to content

Commit d3e30ae

Browse files
Joshua-Lester3BenjaminMichaelis
authored andcommitted
Change style
1 parent 5d32de2 commit d3e30ae

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

EssentialCSharp.Web/Views/Shared/_Layout.cshtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@
121121
</div>
122122
</div>
123123

124-
<a v-if="chapterParentPage" :href="chapterParentPage.href" class="menu-chapter-title text-light">
124+
<a v-if="chapterParentPage" :href="chapterParentPage.href" class="menu menu-chapter-title text-light">
125125
<span v-cloak>{{chapterParentPage.title}}</span>
126126
</a>
127-
<div class="menu-chapter-title text-light" v-if="isContentPage">
128-
<span v-cloak>Progress: {{percentComplete}}%</span>
127+
<div class="menu menu-progress text-light" v-if="isContentPage">
128+
<span v-cloak>{{percentComplete}}%</span>
129129
</div>
130130

131131
<div class="d-flex align-items-center">

EssentialCSharp.Web/wwwroot/css/styles.css

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,25 +224,31 @@ a:hover {
224224
}
225225
}
226226

227+
.menu {
228+
white-space: nowrap;
229+
overflow: hidden;
230+
text-decoration: none;
231+
}
232+
227233
.menu-brand {
228234
font-style: normal;
229235
font-weight: 400;
230236
font-size: 1.5rem;
231-
text-decoration: none;
232-
white-space: nowrap;
233-
overflow: hidden;
234237
margin-left: 5px;
235238
}
236239

237240
.menu-chapter-title {
238241
font-style: normal;
239242
font-weight: 300;
240243
font-size: 1.2rem;
241-
text-decoration: none;
242244
text-overflow: ellipsis;
243-
overflow: hidden;
244245
cursor: pointer;
245-
white-space: nowrap;
246+
}
247+
248+
.menu-progress {
249+
font-style: normal;
250+
font-weight: 200;
251+
font-size: 1rem;
246252
}
247253

248254
.has-tooltip {

0 commit comments

Comments
 (0)