File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
articles/feature-article/src/lib/article-details
shell/feature-shell-web/src/lib Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
- < div class ="mt-8 grid grid-cols-12 gap-y-10 lg:gap-x-10 ">
1
+ < div class ="grid grid-cols-12 gap-y-10 lg:gap-x-10 ">
2
2
< section
3
3
aria-labelledby ="article-title "
4
4
class ="order-1 col-span-12 grid w-full gap-4 overflow-auto lg:col-span-8 "
@@ -63,7 +63,7 @@ <h2 id="article-title" class="flex text-[40px] font-bold">
63
63
class ="sticky top-24 mt-5 hidden flex-col gap-4 lg:flex "
64
64
[ngClass] ="{
65
65
'top-24': !adBannerStoreVisible(),
66
- 'top-48': adBannerStoreVisible()
66
+ 'top-48': adBannerStoreVisible(),
67
67
} "
68
68
>
69
69
@if (articleDetails().anchors.length) {
Original file line number Diff line number Diff line change @@ -31,8 +31,12 @@ import {
31
31
</al-header>
32
32
</div>
33
33
<al-layout class="mt-20" [ngClass]="{ 'mt-40': adBannerVisible() }">
34
- @if (slides(); as slides) {
35
- <al-banner-carousel [banners]="slides" [msPerSlide]="msPerSlide()!" />
34
+ @if (slides()?.length && slides(); as slides) {
35
+ <al-banner-carousel
36
+ class="mb-4 inline-block"
37
+ [banners]="slides"
38
+ [msPerSlide]="msPerSlide()!"
39
+ />
36
40
}
37
41
<router-outlet />
38
42
</al-layout>
You can’t perform that action at this time.
0 commit comments