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

no padding no back gradient #12845

Merged
merged 1 commit into from
Jan 17, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion extensions/amp-story/0.1/amp-story-hint.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
}

.show-first-page-overlay .prev-page {
background: linear-gradient(to right, rgba(0,0,0,0.5) , rgba(0,0,0,0));
background: linear-gradient(to right, rgba(0,0,0,0.5) , rgba(0,0,0,0)) !important;
}

.show-first-page-overlay .next-page {
Expand All @@ -73,6 +73,10 @@
display: none !important;
}

.show-first-page-overlay .i-amphtml-story-navigation-help-overlay {
Copy link
Member

Choose a reason for hiding this comment

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

Is it an issue if you simply unset padding from the general .i-amphtml-story-navigation-help-overlay selector, as opposed to overriding?

Copy link
Member Author

Choose a reason for hiding this comment

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

its basically that one case need it one doesn't so as more cases come up, may be then it's a good time to refactor this

padding: 0px !important;
}

.next-page {
flex: 3 !important;
border-left: 1px dashed transparent;
Expand Down