-
Notifications
You must be signed in to change notification settings - Fork 4.1k
🖍 [Story performance] Added CSS rules for units, and exaple stories #36007
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
Changes from 1 commit
51e1ed9
00e2b1c
17f6cf7
9942c91
6bd9a22
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,6 +12,13 @@ | |
| @import './pagination-buttons.css'; | ||
|
|
||
| /** Common */ | ||
| :root { | ||
| --story-page-vw: 1vw; | ||
| --story-page-vh: 1vh; | ||
| --story-page-vmin: min(var(--story-page-vw), var(--story-page-vh)); | ||
| --story-page-vmax: max(var(--story-page-vw), var(--story-page-vh)); | ||
| --i-amphtml-story-page-50vw: calc(var(--story-page-vw) * 50); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. True, it gets removed entirely on #35932 so I'll also remove it from here, wait for that PR to merge, and then sync this branch and ensure everything is ok |
||
| } | ||
| amp-story, amp-story-page, amp-story-cta-layer { | ||
| contain: strict !important; | ||
| overflow: hidden !important; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.