Voting description cell for the landing page #7410
Merged
mrcasals merged 5 commits intofeat/votings_public_landing_pagefrom Mar 2, 2021
Merged
Voting description cell for the landing page #7410mrcasals merged 5 commits intofeat/votings_public_landing_pagefrom
mrcasals merged 5 commits intofeat/votings_public_landing_pagefrom
Conversation
820d4dc to
3178339
Compare
b78fe6b to
ce00f57
Compare
ce00f57 to
6a6e498
Compare
f769999 to
2ecd577
Compare
2ecd577 to
63d5594
Compare
orlera
approved these changes
Feb 26, 2021
decidim-elections/app/assets/javascripts/decidim/votings/voting-description-cell.js.es6
Outdated
Show resolved
Hide resolved
slickepinne
approved these changes
Mar 1, 2021
Contributor
slickepinne
left a comment
There was a problem hiding this comment.
Great! Just left a tiny comment. 😊
|
|
||
| let $button = $(".voting-description-cell .content-height-toggler .button"); | ||
| let $content = $button.closest(".voting-description-cell").find(".content"); | ||
| let $contentContentMaxHeight = remToPx(7.8); |
Contributor
There was a problem hiding this comment.
Can we use contentMaxHeight instead of contentContentMaxHeight here?
mrcasals
approved these changes
Mar 2, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎩 What? Why?
This PR implements the public side of the
Decidim::Votings::ContentBlocks::LandingPage::DescriptionCell.📌 Related Issues
Testing
Screen.Recording.2021-02-17.at.12.58.08.mov
📋 Checklist
🚨 Please review the guidelines for contributing to this repository.
docs/.📷 Screenshots
Please add screenshots of the changes you're proposing
