Skip to content

Commit 3e33947

Browse files
authored
Merge pull request #1698 from gethinode/templatev2
Templatev2
2 parents 8ae9412 + 2aa96b9 commit 3e33947

File tree

6 files changed

+31
-26
lines changed

6 files changed

+31
-26
lines changed

assets/scss/app-dart.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
@import "components/sidebar.scss";
4444
@import "components/syntax-dart.scss"; // note: modified for dart-sass
4545
@import "components/table.scss";
46+
@import "components/testimonial.scss";
4647
@import "components/toast.scss";
4748
@import "components/timeline.scss";
4849
@import "components/toc.scss";

assets/scss/app.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
@import "components/sidebar.scss";
4242
@import "components/syntax.scss";
4343
@import "components/table.scss";
44+
@import "components/testimonial.scss";
4445
@import "components/toast.scss";
4546
@import "components/timeline.scss";
4647
@import "components/toc.scss";

assets/scss/components/_pagination.scss

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55
--bs-pagination-hover-color: var(--bs-pagination-active-color);
66
--bs-pagination-hover-bg: var(--bs-pagination-active-bg);
77
--bs-pagination-hover-border-color: none;
8-
}
98

10-
.pagination .page-item {
11-
margin: 0.4rem;
12-
}
9+
.page-item {
10+
margin: 0.4rem;
11+
}
12+
13+
.page-item:first-of-type {
14+
margin-left: 0;
15+
}
16+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
.testimonial-img {
2+
height: 10vw;
3+
width: 10vw;
4+
background-color: var(--#{$prefix}body-bg);
5+
}
6+
7+
.testimonial-logo {
8+
width: 20vw;
9+
}
10+
11+
@include media-breakpoint-up(md) {
12+
.testimonial-img {
13+
height: 5vw;
14+
width: 5vw;
15+
}
16+
17+
.testimonial-logo {
18+
width: 10vw;
19+
}
20+
}

component-library/components/testimonials/testimonials.scss

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,3 @@
1-
.testimonial-img {
2-
height: 10vw;
3-
width: 10vw;
4-
background-color: var(--#{$prefix}body-bg);
5-
}
6-
7-
.testimonial-logo {
8-
width: 20vw;
9-
}
10-
11-
@include media-breakpoint-up(md) {
12-
.testimonial-img {
13-
height: 5vw;
14-
width: 5vw;
15-
}
16-
17-
.testimonial-logo {
18-
width: 10vw;
19-
}
20-
}
21-
221
section.testimonials {
232
.carousel, .testimonial-grid {
243
width: 100%;

layouts/_partials/assets/helpers/navbar-render-menu.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{{ if $entry.Params.spacing }}
1212
<li class="nav-item flex-grow-1"></li>
1313
{{ else }}
14-
<li class="nav-item {{ if .HasChildren }} dropdown me-auto{{ if $horizontal }} dropdown-horizontal-{{ $breakpoint }}{{ end }}{{ end }}">
14+
<li class="nav-item {{ if .HasChildren }} dropdown me-auto my-auto{{ if $horizontal }} dropdown-horizontal-{{ $breakpoint }}{{ end }}{{ end }}">
1515
{{- partial "assets/helpers/navbar-item.html" (dict "menu-entry" $entry "page" $page) -}}
1616
{{- if .HasChildren -}}
1717
<ul class="dropdown-menu{{ if $control }} dropdown-menu-end{{ end }}">

0 commit comments

Comments
 (0)