Skip to content

Commit 0cc5c12

Browse files
committed
refact: revamp from custom css to bootstrap
1 parent 68de77a commit 0cc5c12

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

src/LinkDotNet.Blog.Web/Features/AboutMe/Components/TabbedNavigation.razor

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,22 @@
22
@using LinkDotNet.Blog.Web.Features.AboutMe.Components.Talk
33

44
<div class="col-lg-9 col-md-8 tab-container">
5-
<ul class="nav nav-pills nav-underline border-bottom justify-content-around" id="aboutMe" role="tablist">
6-
<li class="nav-item" role="presentation">
7-
<button class="nav-link active btn-primary btn-light" id="pills-skills-tab" data-bs-toggle="pill" data-bs-target="#pills-home" type="button" role="tab" aria-controls="pills-home" aria-selected="true">Skills</button>
8-
</li>
9-
<li class="nav-item" role="presentation">
10-
<button class="nav-link btn-primary btn-light" id="pills-talks-tab" data-bs-toggle="pill" data-bs-target="#pills-profile" type="button" role="tab" aria-controls="pills-profile" aria-selected="false">Talks</button>
11-
</li>
12-
</ul>
5+
<ul class="nav nav-pills nav-underline border-bottom justify-content-around" id="aboutMe" role="tablist">
6+
<li class="nav-item" role="presentation">
7+
<button class="nav-link active bg-transparent border-0 text-body" id="pills-skills-tab"
8+
data-bs-toggle="pill" data-bs-target="#pills-home" type="button"
9+
role="tab" aria-controls="pills-home" aria-selected="true">
10+
Skills
11+
</button>
12+
</li>
13+
<li class="nav-item" role="presentation">
14+
<button class="nav-link bg-transparent border-0 text-body" id="pills-talks-tab"
15+
data-bs-toggle="pill" data-bs-target="#pills-profile" type="button"
16+
role="tab" aria-controls="pills-profile" aria-selected="false">
17+
Talks
18+
</button>
19+
</li>
20+
</ul>
1321
<div class="tab-content" id="myTabContent">
1422
<div class="tab-pane fade show active" id="pills-home" role="tabpanel" aria-labelledby="pills-skills-tab" tabindex="0">
1523
<SkillTable ShowAdminActions="@IsAuthenticated"></SkillTable>

src/LinkDotNet.Blog.Web/wwwroot/css/basic.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,12 +248,13 @@ code {
248248
z-index: initial;
249249
max-width: 130px;
250250
}
251-
251+
/*
252252
.nav>.nav-item>button {
253253
border: 0;
254254
background: transparent !important;
255255
color: var(--bs-body-color) !important;
256256
}
257+
*/
257258
/*#endregion */
258259

259260
/*#region About Me */

0 commit comments

Comments
 (0)