File tree Expand file tree Collapse file tree 5 files changed +12
-6
lines changed
Expand file tree Collapse file tree 5 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,11 @@ const ContentColumn = styled.div`
139139 display: flex;
140140 flex-direction: column;
141141 min-height: 0;
142+ padding-right: 32px;
143+
144+ @media (max-width: 768px) {
145+ padding: 0 8px;
146+ }
142147` ;
143148
144149const MobileSidebarOverlay = styled . div `
@@ -181,7 +186,7 @@ const SidebarPanel = styled.div`
181186
182187const PageGrid = styled . div `
183188 display: grid;
184- grid-template-columns: 340px 1fr;
189+ grid-template-columns: 372px 1fr;
185190 min-height: 100dvh;
186191
187192 @media (max-width: 768px) {
Original file line number Diff line number Diff line change @@ -123,7 +123,8 @@ export function filterItems<T extends HasNameAndMetadata>(
123123 ) ;
124124 }
125125
126- const hasFieldFilter = remainingWords . length > 0 || metadataKeys . length > 0 || parsed . offsets . size > 0 ;
126+ const hasFieldFilter =
127+ remainingWords . length > 0 || metadataKeys . length > 0 || parsed . offsets . size > 0 ;
127128
128129 if ( ! collapseNonMatching ) {
129130 return {
Original file line number Diff line number Diff line change 11import { styled } from "@linaria/react" ;
22
33export const ContentWrapper = styled . main `
4- padding: 0 24px 24px 24px;
4+ padding-bottom: 24px;
55 min-width: 0;
66
77 @media (max-width: 768px) {
88 grid-column: 1;
9- padding: 0 8px 16px;
9+ padding-bottom: 16px;
1010 }
1111` ;
1212
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ const NavBarContentCell = styled.div`
196196 display: flex;
197197 align-items: center;
198198 gap: 14px;
199- padding: 10px 14px 10px 24px ;
199+ padding: 10px 0 ;
200200 min-width: 0;
201201 flex-shrink: 0;
202202 position: sticky;
@@ -206,7 +206,6 @@ const NavBarContentCell = styled.div`
206206
207207 @media (max-width: 768px) {
208208 grid-column: 1;
209- padding: 10px 14px;
210209 }
211210` ;
212211
Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ export const SidebarWrapper = styled.div`
115115 overflow: hidden;
116116 min-width: 0;
117117 padding: 6px 8px 4px 10px;
118+ margin-right: 32px;
118119 background-color: var(--sidebar);
119120 position: sticky;
120121 top: 0;
You can’t perform that action at this time.
0 commit comments