Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix search modal styling #3744

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ header > .container {
max-width: var(--ifm-container-width);
}

section > .container {
.landing-page__section > .container {
margin-left: 0;
margin-right: 0;
padding: 0 60px;
Expand Down Expand Up @@ -319,18 +319,18 @@ section > .container {
background-repeat: no-repeat;
}

section {
.landing-page__section {
display: flex;
justify-content: center;
padding: 3rem 0;
background-color: var(--swm-color-bright);
}

section:nth-child(2) {
.landing-page__section:nth-child(2) {
background-color: var(--ifm-color-white);
}

section > .contaner > .row {
.landing-page__section > .contaner > .row {
display: flex;
align-items: flex-start;
}
Expand Down Expand Up @@ -411,7 +411,7 @@ section > .contaner > .row {
max-width: 1300px;
}

section > .container {
.landing-page__section > .container {
max-width: 1300px;
}
}
Expand All @@ -432,7 +432,7 @@ section > .contaner > .row {
max-width: 1300px;
}

section > .container {
.landing-page__section > .container {
max-width: 1300px;
}

Expand Down Expand Up @@ -471,7 +471,7 @@ section > .contaner > .row {
max-width: 1140px;
}

section > .container {
.landing-page__section > .container {
max-width: 1140px;
}
}
Expand Down Expand Up @@ -502,7 +502,7 @@ section > .contaner > .row {
max-width: 1300px;
}

section > .container {
.landing-page__section > .container {
max-width: 1300px;
}

Expand Down
8 changes: 4 additions & 4 deletions docs/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function SectionBoxes() {

function BannerSection() {
return (
<section>
<section className="landing-page__section">
<div className="container">
<div className="row">
<div
Expand Down Expand Up @@ -165,7 +165,7 @@ function Home() {
<Hero />

<main>
<section>
<section className="landing-page__section">
<div className="container">
<div className="row row--box-section">
<SectionBoxes />
Expand All @@ -174,7 +174,7 @@ function Home() {
</div>
</section>
{/* <BannerSection /> */}
<section>
<section className="landing-page__section">
<div className="container container--center">
<div className="row row--center">
<div className="col col--7 text--center col--bottom-section">
Expand Down Expand Up @@ -214,7 +214,7 @@ function Home() {
</div>
</div>
</section>
<section>
<section className="landing-page__section">
<div className="container">
<div className="row row--center">
<div className="col col--7 text--center col--bottom-section">
Expand Down