Skip to content

Commit eaac78d

Browse files
Change style
1 parent bcff469 commit eaac78d

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
@@ -120,11 +120,11 @@
120120
</div>
121121
</div>
122122

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

130130
<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
@@ -207,25 +207,31 @@ a:hover {
207207
}
208208
}
209209

210+
.menu {
211+
white-space: nowrap;
212+
overflow: hidden;
213+
text-decoration: none;
214+
}
215+
210216
.menu-brand {
211217
font-style: normal;
212218
font-weight: 400;
213219
font-size: 1.5rem;
214-
text-decoration: none;
215-
white-space: nowrap;
216-
overflow: hidden;
217220
margin-left: 5px;
218221
}
219222

220223
.menu-chapter-title {
221224
font-style: normal;
222225
font-weight: 300;
223226
font-size: 1.2rem;
224-
text-decoration: none;
225227
text-overflow: ellipsis;
226-
overflow: hidden;
227228
cursor: pointer;
228-
white-space: nowrap;
229+
}
230+
231+
.menu-progress {
232+
font-style: normal;
233+
font-weight: 200;
234+
font-size: 1rem;
229235
}
230236

231237
.has-tooltip {

0 commit comments

Comments
 (0)