Skip to content

Commit

Permalink
docs: Remove duplicate editors on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Oct 8, 2021
1 parent 404b2b0 commit 655cba3
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions website/src/components/Playground/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

.playgroundContainer {
margin-bottom: var(--ifm-leading);
border-radius: var(--ifm-global-radius);
Expand All @@ -14,8 +7,10 @@
align-items: stretch;
flex-direction: column;
}
.playgroundContainer.row {
flex-direction: row;
@media only screen and (min-width: 768px) {
.playgroundContainer.row {
flex-direction: row;
}
}
.playgroundContainer > div {
flex: 1 1 auto;
Expand Down Expand Up @@ -76,7 +71,7 @@ div:first-of-type > .playgroundHeader {
background-color: var(--ifm-color-emphasis-300);
}

.hidden {
.playgroundContainer.row.hidden {
display: none;
}

Expand All @@ -95,8 +90,11 @@ div:first-of-type > .playgroundHeader {
}

.tab {
height: 100%;
padding: 0.75rem;
cursor: pointer;
display: flex;
align-items: center;
}
.tab:hover {
background-color: var(--ifm-color-emphasis-500);
Expand Down

0 comments on commit 655cba3

Please sign in to comment.