Skip to content

Commit

Permalink
šŸ› Restrict display:block/position:relative styles to implicit responsā€¦
Browse files Browse the repository at this point in the history
ā€¦ive layout (#28020)

* Account for disable-inline-width attribute in ampshared.css

* Restrict selector to only target implicit responsive
  • Loading branch information
westonruter committed Apr 27, 2020
1 parent 58b3f4e commit 4f3d1a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css/ampshared.css
Expand Up @@ -62,7 +62,7 @@

.i-amphtml-layout-responsive,
[layout=responsive][width][height]:not(.i-amphtml-layout-responsive),
[width][height][sizes]:not(.i-amphtml-layout-responsive)
[width][height][sizes]:not([layout]):not(.i-amphtml-layout-responsive)
{
display: block;
position: relative;
Expand Down

0 comments on commit 4f3d1a4

Please sign in to comment.