Skip to content

Commit

Permalink
chore(website): Fix responsive styling on homepage
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Johnson <[email protected]>
  • Loading branch information
binarylogic committed Dec 1, 2019
1 parent 8ee3800 commit 73dc9d5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,13 @@ ul.tabs.rounded li.tab-item.tab-item--active {
.tabs--centered ul.tabs {
display: inline-block;
}

@media (max-width: 996px) {
ul.tabs.rounded {
display: block !important;
}
}

/*
* Docs
*/
Expand Down
1 change: 0 additions & 1 deletion website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ function Topologies() {
<Tabs
centered={true}
className="rounded"
style={{minWidth: "500px"}}
defaultValue="centralized"
values={[
{ label: <><i className="feather icon-shuffle"></i> Distributed</>, value: 'distributed', },
Expand Down
2 changes: 2 additions & 0 deletions website/src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ html[data-theme="dark"] .hero {
margin: var(--ifm-heading-margin-bottom) auto;
max-height: 300px;
max-width: 900px;
height: 100%;
width: 100%;
}

/*
Expand Down

0 comments on commit 73dc9d5

Please sign in to comment.