Skip to content
Discussion options

You must be logged in to vote

Well I solved this by reading up on CSS grid and flexbox. E.g.

My card lived in the area main. I simply had to reduce the subtraction in max-width:

.analysis_page {
  grid-area: main;
  background-color: #faf9f8;
  padding-left: 10px;
  padding-right: 32px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 100px);
  overflow: auto;
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kamilzyla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant