Skip to content

Commit 9f45b8f

Browse files
committed
Decrease padding above concepts listing
This also moves the sidebar up and is consistent with the question finder.
1 parent 48a797b commit 9f45b8f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/app/components/pages/Concepts.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,16 +125,15 @@ export const Concepts = withRouter((props: RouteComponentProps) => {
125125
currentPageTitle="Concepts"
126126
intermediateCrumbs={crumb ? [crumb] : undefined}
127127
icon={{type: "hex", icon: "icon-concept"}}
128-
className="mb-4"
129128
/>
130129
<SidebarLayout>
131130
{pageContext?.subject
132131
? <SubjectSpecificConceptListSidebar {...sidebarProps}/>
133132
: <GenericConceptsSidebar {...sidebarProps} searchStages={searchStages} setSearchStages={setSearchStages} stageCounts={stageCounts}/>
134133
}
135134
<MainContent>
136-
{pageContext?.subject && <div className="d-flex align-items-baseline flex-wrap flex-md-nowrap">
137-
<p className="me-3 mt-2">The concepts shown on this page have been filtered to only show those that are relevant to {getHumanContext(pageContext)}.</p>
135+
{pageContext?.subject && <div className="d-flex align-items-baseline flex-wrap flex-md-nowrap my-3">
136+
<p className="me-3">The concepts shown on this page have been filtered to only show those that are relevant to {getHumanContext(pageContext)}.</p>
138137
<AffixButton size="md" color="keyline" tag={Link} to="/concepts" className="ms-auto" style={{minWidth: "136px"}}
139138
affix={{
140139
affix: "icon-right",

src/app/components/pages/QuestionFinder.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ export const QuestionFinder = withRouter(({location}: RouteComponentProps) => {
463463
<div className="my-3">
464464
{(pageContext?.subject && pageContext.stage)
465465
? <div className="d-flex align-items-baseline flex-wrap flex-md-nowrap">
466-
<p className="me-3 mt-2">The questions shown on this page have been filtered to only show those that are relevant to {getHumanContext(pageContext)}.</p>
466+
<p className="me-3">The questions shown on this page have been filtered to only show those that are relevant to {getHumanContext(pageContext)}.</p>
467467
<AffixButton size="md" color="keyline" tag={Link} to="/questions" className="ms-auto" style={{minWidth: "136px"}}
468468
affix={{
469469
affix: "icon-right",

0 commit comments

Comments
 (0)