Skip to content

Commit 6809a20

Browse files
authored
Fix CSS for front page (#3839)
1 parent 7de5fb3 commit 6809a20

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

assets/scss/_styles_project.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2763,7 +2763,7 @@ nav {
27632763
min-height: 3.5rem;
27642764
}
27652765

2766-
@media (max-width: 768px) {
2766+
@media (max-width: 767px) {
27672767
.second-nav {
27682768
display: none;
27692769
}
@@ -2804,6 +2804,10 @@ span.section-overview {
28042804
display: unset;
28052805
}
28062806

2807+
#landing-page-sidebar {
2808+
display: none;
2809+
}
2810+
28072811
.menu-toggle.open-on-desktop {
28082812
display: none;
28092813
}
@@ -2973,6 +2977,7 @@ a.tree-root {
29732977
.upside-down {
29742978
display: flex;
29752979
flex-direction: column-reverse;
2980+
align-self: first baseline;
29762981
}
29772982

29782983
.upside-down.max-page {
@@ -2995,6 +3000,8 @@ a.tree-root {
29953000
.upside-down > .col.hover-card {
29963001
min-width: unset;
29973002
max-width: unset;
3003+
max-height: fit-content;
3004+
flex-grow: unset !important;
29983005
}
29993006

30003007
.col-12.col-md-12.col-xl-12.pl-md-12 > .td-content {

layouts/docs/landing.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
<div class="container-fluid td-outer">
1717
<div class="td-main">
1818
<div class="row flex-xl-nowrap">
19-
<main class="col-12 col-md-12 col-xl-12 pl-md-12" role="main">
19+
<aside class="col-12 col-md-3 col-xl-2 td-sidebar d-print-none" id="landing-page-sidebar">
20+
{{ partial "sidebar.html" . }}
21+
</aside>
22+
<main class="col-12 col-md-12 col-xl-12 pl-md-12" role="main">
2023
<div id="rss-feed">
2124
<a target="_blank" title="Open RSS feed" aria-label="Open RSS feed" href="{{ .Permalink }}feed.xml">
2225
<p><i class="fas fa-rss"></i> RSS Feed</p>

static/js/embed.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60619,7 +60619,7 @@ const TP = Z(ebe), tbe = D.forwardRef(
6061960619
value: t,
6062060620
onChange: b,
6062160621
onKeyDown: r,
60622-
placeholder: c || (l ? "Search..." : "Search for anything..."),
60622+
placeholder: c || (l ? "Search..." : "Search..."),
6062360623
narrowView: n,
6062460624
onFocus: g,
6062560625
onBlur: k
@@ -61843,7 +61843,7 @@ const config = {
6184361843
components: {
6184461844
AIChatPageWrapper: {
6184561845
defaultProps: {
61846-
size: 'full-viewport', // 'shrink-vertically' 'expand', 'default', 'full-viewport'
61846+
size: 'default', // 'shrink-vertically' 'expand', 'default', 'full-viewport'
6184761847
variant: 'container-with-shadow', // 'no-shadow' or 'container-with-shadow'
6184861848
},
6184961849
},

0 commit comments

Comments
 (0)