Skip to content

community page layout improvements#148

Merged
mannynotfound merged 7 commits intomainfrom
manny/cas-190
Jul 18, 2022
Merged

community page layout improvements#148
mannynotfound merged 7 commits intomainfrom
manny/cas-190

Conversation

@mannynotfound
Copy link
Copy Markdown
Contributor

  • tightens the space between "title" and "content" so association is more obvious.
  • remove "Details" header as it was always empty and redundant
  • create shared Title component for community tabs
  • adjust members spacing to match about spacing so content doesnt shift when navigating

(grid ruler lines not part of changes, just shown for visual reference)
newabout
newmembers

>
Links
</div>
<Title>Links</Title>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this one need classes column is-12 should Title allow classNames prop like classNames={"column is-12"}
Screen Shot 2022-07-14 at 13 58 47

@mannynotfound
Copy link
Copy Markdown
Contributor Author

@germanurrus updated to allow className on title 👍

Comment thread frontend/packages/client/src/components/Title.js Outdated
@mannynotfound
Copy link
Copy Markdown
Contributor Author

@germanurrus should be g2g now

Copy link
Copy Markdown
Contributor

@germanurrus germanurrus left a comment

Choose a reason for hiding this comment

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

Looks good! just left a comment

@@ -0,0 +1,11 @@
import React from 'react';

const Title = ({ children, className }) => (
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

could to make className to default to ''

const Title = ({ children, className = '' } = {}) => (

so on the class prop it does not get undefined:
Screen Shot 2022-07-18 at 12 22 46

@mannynotfound mannynotfound merged commit c67ebb3 into main Jul 18, 2022
@mannynotfound mannynotfound deleted the manny/cas-190 branch July 18, 2022 17:29
@mannynotfound mannynotfound restored the manny/cas-190 branch July 18, 2022 17:29
@mannynotfound mannynotfound deleted the manny/cas-190 branch July 18, 2022 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants