Repository navigation
Fit text horizontally #182
Copy link
Copy link
Closed
Labels
designRelated to the design or user experienceRelated to the design or user experienceenhancementNew feature or requestNew feature or requestgood first issueShould be easy to implementShould be easy to implement
Milestone
Description
Activity
Could this be related to #177 ?
I don't know if this is related to your issue. Can you please test, if removing this line from CSS fixes the rendering on Android?
I just tried that. It didn't fix my problem. Thanks for your help!
- addedenhancementNew feature or requestNew feature or requestgood first issueShould be easy to implementShould be easy to implement
on May 4, 2018 Right, on big screens it indeed looks a bit strange as it’s all left-aligned.
The reason we limit the width though is for legibility, see https://en.wikipedia.org/wiki/Line_length
So we should add some CSS with a media query for big screen widths to properly center the content:
#app-content-container { text-align: center; } .CodeMirror { display: inline-block; text-align: center; margin-right: 125px; /* half of the app-navigation width, to offset a bit to the left so it’s centered related to viewport */ }- changed the title
[-]Fit text horizontally: please remove the "max-width: 47em" from CSS[/-][+]Fit text horizontally[/+]on Jun 4, 2018 - addeddesignRelated to the design or user experienceRelated to the design or user experience
on Nov 18, 2018
Metadata
Metadata
Assignees
Labels
designRelated to the design or user experienceRelated to the design or user experienceenhancementNew feature or requestNew feature or requestgood first issueShould be easy to implementShould be easy to implement
The notes on large (FullHD) screens are auto-wrapped at 47em leaving a large portion of empty white screen on right side. This is caused by the following line in notes.css:
Please remove this static width limitation and enable fit-to-width behavior.