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

Added max width to the column with editor area. I used 'minmax' grid … #2072

Merged
merged 2 commits into from
Aug 6, 2022

Conversation

SimaDovakin
Copy link
Contributor

@SimaDovakin SimaDovakin commented Jun 27, 2022

…function for this.

Description

  • Source branch in your fork has meaningful name (not main)

Fixes Issue:
Fix #2071

Before Merge Checklist

These items can be completed after PR is created.

(Check any items that are not applicable (NA) for this PR)

  • JavaScript implementation
  • Python implementation (NA if HTML beautifier)
  • Added Tests to data file(s)
  • Added command-line option(s) (NA if
  • README.md documents new feature/option(s)

@@ -74,7 +74,7 @@ input[type="checkbox"], select, button {

.container {
display: grid;
grid-template-columns: 1.6fr 0.9fr;
grid-template-columns: minmax(auto, 1209px) 0.9fr;
Copy link
Contributor

Choose a reason for hiding this comment

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

@SimaDovakin I was the person responsible for this change 😅, thanks for fixing it!

I do have a suggestion though, have you tried setting something like grid-template-columns: calc(100vw/1.6) calc(100vw/0.9); instead? It might be more responsive to the different screen sizes and probably a longer term fix.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for review. I'll fix it in this way.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added new commit.

@bitwiseman bitwiseman merged commit fc2a584 into beautifier:main Aug 6, 2022
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.

new layout breaks everything on long lines
4 participants