Skip to content

CAS-103 - fix join button position#145

Merged
germanurrus merged 3 commits intomainfrom
germanurrustarazu/cas-103
Jul 14, 2022
Merged

CAS-103 - fix join button position#145
germanurrus merged 3 commits intomainfrom
germanurrustarazu/cas-103

Conversation

@germanurrus
Copy link
Copy Markdown
Contributor

@germanurrus germanurrus commented Jul 13, 2022

Applied style fixes for join community button, also avatar size was changed on mobile and some styling on community card based on CAS-103 feedback.

Before:
Screen Shot 2022-07-14 at 12 14 34

Screen Shot 2022-07-14 at 12 14 46

After:
Screen Shot 2022-07-14 at 12 09 48
Screen Shot 2022-07-14 at 12 10 14

@germanurrus germanurrus marked this pull request as ready for review July 14, 2022 15:17
const leaveCommunity = async () => {
const leaveCommunity = async (event) => {
event.preventDefault();
event.stopPropagation();
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

added this to prevent navigation from the community card to the community when clicking on join community in the home page

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.

With the style changes, I agree that this is a better way than having it positioned absolute.

Comment on lines +13 to 14
maxHeight: '3rem',
overflow: 'hidden',
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this is preventing the card panel to have extra height if body payload is too long, this might need some changes if we don't want to hide longer texts

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.

Maybe we could do something similar to the ProposalCard for clamping the text?

Copy link
Copy Markdown
Contributor

@mannynotfound mannynotfound left a comment

Choose a reason for hiding this comment

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

Thank you!

@germanurrus germanurrus merged commit c570a6a into main Jul 14, 2022
@germanurrus germanurrus deleted the germanurrustarazu/cas-103 branch July 14, 2022 16:30
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.

3 participants