Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix card page break and move to print layout #8415

Merged
merged 1 commit into from
Sep 21, 2020

Conversation

Tlazypanda
Copy link
Collaborator

Fixes #0000

Fixed the card page break problem and moved to new print layout since bootstrap classes like .card were not rendered as they should in layout: false setting.

  • PR is descriptively titled 📑 and links the original issue above 🔗
  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with rake test
  • code is in uniquely-named feature branch and has no merge conflicts 📁
  • screenshots/GIFs are attached 📎 in case of UI updation
  • ask @publiclab/reviewers for help, in a comment below

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If tests do fail, click on the red X to learn why by reading the logs.

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software

Thanks!

@Tlazypanda Tlazypanda requested a review from a team as a code owner September 20, 2020 06:50
@gitpod-io
Copy link

gitpod-io bot commented Sep 20, 2020

@codecov
Copy link

codecov bot commented Sep 20, 2020

Codecov Report

Merging #8415 into main will increase coverage by 0.02%.
The diff coverage is 88.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8415      +/-   ##
==========================================
+ Coverage   81.87%   81.89%   +0.02%     
==========================================
  Files         101      101              
  Lines        5902     5900       -2     
==========================================
  Hits         4832     4832              
+ Misses       1070     1068       -2     
Impacted Files Coverage Δ
app/models/node.rb 91.69% <86.66%> (+0.32%) ⬆️
app/controllers/notes_controller.rb 83.46% <100.00%> (ø)
app/controllers/wiki_controller.rb 85.40% <100.00%> (ø)

@cesswairimu
Copy link
Collaborator

Great, is it possible to see a before and after screenshot for this?

@Tlazypanda
Copy link
Collaborator Author

Tlazypanda commented Sep 21, 2020

can you please review @cesswairimu ? Thanks ❤️

Before (page break in card): -

Screenshot from 2020-09-21 12-49-28

After (no page break ):-

Screenshot from 2020-09-21 12-50-27

Copy link
Collaborator

@cesswairimu cesswairimu left a comment

Choose a reason for hiding this comment

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

Fantastic 🎉 that looks great. Thanks @Tlazypanda

@ebarry
Copy link
Member

ebarry commented Sep 22, 2020

Looks great! What does your view of the side cutoff look like now? Here's what we noticed with the righthand-side cut-off of the cards that Jeanette created:
Screen Shot 2020-09-22 at 9 36 22 AM

@Tlazypanda
Copy link
Collaborator Author

Hey @ebarry in the new print option there is no side cutoff since one card is displayed at a time as you can see from the above screenshots 😅

@jywarren
Copy link
Member

Awesome, thanks @Tlazypanda and everyone!

@ebarry
Copy link
Member

ebarry commented Sep 22, 2020

ah wonderful! thank you 😄

shubhangikori pushed a commit to shubhangikori/plots2 that referenced this pull request Oct 12, 2020
alvesitalo pushed a commit to alvesitalo/plots2 that referenced this pull request Oct 14, 2020
piyushswain pushed a commit to piyushswain/plots2 that referenced this pull request Oct 22, 2020
manchere pushed a commit to manchere/plots2 that referenced this pull request Feb 13, 2021
lagunasmel pushed a commit to lagunasmel/plots2 that referenced this pull request Mar 2, 2021
reginaalyssa pushed a commit to reginaalyssa/plots2 that referenced this pull request Oct 16, 2021
ampwang pushed a commit to ampwang/plots2 that referenced this pull request Oct 26, 2021
billymoroney1 pushed a commit to billymoroney1/plots2 that referenced this pull request Dec 28, 2021
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.

4 participants