Skip to content

Fixed issue #1124#1183

Closed
ghost wants to merge 1 commit intomasterfrom
unknown repository
Closed

Fixed issue #1124#1183
ghost wants to merge 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Nov 4, 2017

Fixed drop-down menu. The description can be found here.

issue #1124

Fixed drop-down menu. The description can be found here. #1124
@ghost ghost changed the title Updated mq.css Fixed issue https://github.com/python/pythondotorg/issues/1124 Nov 4, 2017
@ghost ghost changed the title Fixed issue https://github.com/python/pythondotorg/issues/1124 Fixed issue #1124 Nov 4, 2017
Copy link
Copy Markdown
Member

@berkerpeksag berkerpeksag left a comment

Choose a reason for hiding this comment

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

Thank you for the PR. mq.css is an automatically generated file. Please modify static/sass/mq.scss instead.

Comment thread static/sass/mq.css

.element-4 ul,
.element-2 ul{
height:288px;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We don't use px as unit. Please use the px2em helper.

Also, is there a way to fix this without set <ul>'s height to a fixed value?

Comment thread static/sass/mq.css
width: device-width; }


.element-4 ul,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We support multiple devices so this should be moved into one of the applicable media blocks like

@media (min-width: px2em( ... )) {

}

@ghost
Copy link
Copy Markdown
Author

ghost commented Dec 26, 2017

I have made changes and made a pull request, but it has gone to the new pull request.
Link: #1209

@berkerpeksag
Copy link
Copy Markdown
Member

Superseded by #1209.

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.

2 participants