Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

docs(layouts): more layout fixes #1019

Merged
merged 2 commits into from
Mar 6, 2019
Merged

docs(layouts): more layout fixes #1019

merged 2 commits into from
Mar 6, 2019

Conversation

layershifter
Copy link
Member

@layershifter layershifter commented Mar 6, 2019

Continues work from #1014.

<Grid variables={{ gridGap: '2rem' }} columns="1">
{children}
</Grid>
</>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any reason to use there Flex...

@@ -79,7 +78,7 @@ class ComponentExample extends React.Component<ComponentExampleProps, ComponentE
knobs: this.getDefaultKnobsValue(),
showCode: this.isActiveHash(),
componentVariables: {},
showRtl: examplePath && examplePath.endsWith('rtl') ? true : false,
showRtl: examplePath && examplePath.endsWith('rtl'),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simplified condition

@@ -56,7 +56,6 @@ interface ComponentExampleState {
const childrenStyle: React.CSSProperties = {
paddingTop: 0,
paddingBottom: '10px',
maxWidth: pxToRem(500),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

</Flex.Item>

{/* TODO: bring back the right floating menu
<Grid columns="auto 300px" styles={{ justifyContent: 'normal', justifyItems: 'stretch' }}>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -11,7 +11,7 @@ const [notTruncatedText, truncatedText] = [
)

const TextExampleTruncated = () => (
<div style={{ overflow: 'hidden', textOverflow: 'ellipsis' }}>
<div style={{ overflow: 'hidden', textOverflow: 'ellipsis', width: 500 }}>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DustyTheBot
Copy link
Collaborator

Warnings
⚠️ There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

Generated by 🚫 dangerJS

@codecov
Copy link

codecov bot commented Mar 6, 2019

Codecov Report

Merging #1019 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1019   +/-   ##
=======================================
  Coverage   81.52%   81.52%           
=======================================
  Files         675      675           
  Lines        8756     8756           
  Branches     1558     1558           
=======================================
  Hits         7138     7138           
  Misses       1602     1602           
  Partials       16       16

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6dc670a...5399ce9. Read the comment docs.

Copy link
Contributor

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good to me! Are we planning to move the dropdown for switching teams back in the Sidebar or at least put some absolute positioning in order to prevent scrolling on each changing?

@layershifter
Copy link
Member Author

Are we planning to move the dropdown for switching teams back in the Sidebar

As I know there is a plan to move back theme selector

@layershifter layershifter merged commit 2e1a6a7 into master Mar 6, 2019
@delete-merged-branch delete-merged-branch bot deleted the docs/fix-layout branch March 6, 2019 16:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants