-
Notifications
You must be signed in to change notification settings - Fork 641
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
[Redesign] Fix visual issues on narrow screens #8724
Conversation
img { | ||
max-width: 100%; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously image overflow was prevented by this:
NuGetGallery/src/Bootstrap/less/theme/common-readme.less
Lines 14 to 32 in 77c5f6e
#readme-less { | |
img { | |
max-width: 100%; | |
} | |
ul.contains-task-list, li.task-list-item { | |
list-style-type: none; | |
} | |
} | |
#readme-more { | |
img { | |
max-width: 100%; | |
} | |
ul.contains-task-list, li.task-list-item { | |
list-style-type: none; | |
} | |
} |
This code applies to collapsible README views, which is used on upload and manage package pages.
@@ -215,791 +215,808 @@ | |||
@helper MakeLicenseSpan(CompositeLicenseExpressionSegment segment) {<span>@segment.Value</span>} | |||
|
|||
<section role="main" class="container main-container page-package-details-v2"> | |||
<div class="row"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -414,55 +420,6 @@ | |||
font-weight: 600; | |||
text-decoration: underline; | |||
} | |||
|
|||
.tab-content { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is V1 installation instruction styling which isn't used in the redesign.
2ea892e
to
1e43fe8
Compare
1e43fe8
to
9cb3615
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Fixes a few problems. Addresses #8719
I recommend reviewing without whitespace changes:
1. Prevent README images from overflow.
Before...
After...
2. Fix Bootstrap grid to add gutter and avoid an unnecessary scroll bar
Before...
Notice the scrollbar and the lack of gutter.
After...
3. Improve the installation instructions scrollbar
Before...
Notice the installation instructions do not stretch all the way across.
Notice there is space below the scrollbar.
After...