File tree 2 files changed +17
-10
lines changed
js/_website/src/routes/[[version]]/guides/[guide]
2 files changed +17
-10
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " website " : minor
3
+ ---
4
+
5
+ feat: Small fix to guide styling
Original file line number Diff line number Diff line change 147
147
href =".. {guide .url }" >{guide .pretty_name }</a
148
148
>
149
149
150
- <div
151
- class =" navigation max-w-full bg-gradient-to-r from-orange-50 to-orange-100 p-2 mx-2 border-l-2 border-orange-500 mb-2"
152
- >
153
- {#each guide_slug as heading }
154
- <a
155
- class =" subheading block thin-link -indent-2 ml-4 mr-2"
156
- href ={heading .href }>{heading .text }</a
157
- >
158
- {/each }
159
- </div >
150
+ {#if guide_slug .length > 0 }
151
+ <div
152
+ class =" navigation max-w-full bg-gradient-to-r from-orange-50 to-orange-100 p-2 mx-2 border-l-2 border-orange-500 mb-2"
153
+ >
154
+ {#each guide_slug as heading }
155
+ <a
156
+ class =" subheading block thin-link -indent-2 ml-4 mr-2"
157
+ href ={heading .href }>{heading .text }</a
158
+ >
159
+ {/each }
160
+ </div >
161
+ {/if }
160
162
{:else }
161
163
<a
162
164
class:hidden ={! show_all &&
You can’t perform that action at this time.
0 commit comments