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

Increase button tap target size and ghost image on enter #13278

Merged
merged 4 commits into from
Feb 6, 2018

Conversation

cathyxz
Copy link
Contributor

@cathyxz cathyxz commented Feb 5, 2018

No description provided.

Copy link
Contributor

@cvializ cvializ left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for implementing this :)

div.amp-lbg-button-close,
div.amp-lbg-button-gallery,
div.amp-lbg-button-slide {
div.i-amphtml-lbg-gallery {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit, general CSS style: unless the div is needed to increase specificity, you can drop it. It can make overriding the rule's properties weird later when you just want to specify a single class for the overriding selector.

Drop the "div". It's cleaner

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Lol. It's in a media query and therefore needed for the specificity...

@cathyxz cathyxz merged commit 79c4969 into ampproject:master Feb 6, 2018
@cathyxz cathyxz deleted the feature/ui-polish branch February 6, 2018 07:38
protonate pushed a commit to protonate/amphtml that referenced this pull request Feb 26, 2018
…13278)

* Increase button tap target size

* Fix desktop mode top padding

* tweak button padding to 16px per mulptiple of 4

* Reorder media queries
RanAbram pushed a commit to RanAbram/amphtml that referenced this pull request Mar 12, 2018
…13278)

* Increase button tap target size

* Fix desktop mode top padding

* tweak button padding to 16px per mulptiple of 4

* Reorder media queries
protonate pushed a commit to protonate/amphtml that referenced this pull request Mar 15, 2018
…13278)

* Increase button tap target size

* Fix desktop mode top padding

* tweak button padding to 16px per mulptiple of 4

* Reorder media queries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants