You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The structure of the contents of a <live-example> is determined here. Relying on the exact structure for styling is not a good idea, because it is likely to change (and in fact it so happens that #15887 will replace the <div> in the current structure).
What we should do instead, is identify what exactly it is that you want to style and add a class on it, so that we can preserve the styling even if we move things around.
(If the Angular stuff on the live-example template doesn't make sense to you, let me know 😉)
Actually, the live-example > div:first-child style l=no longer has any effect (because the structure has changed). So, if (as @sjtrimble says) "the intent is for the live-example to take up the full width of the screen"), we just need to remove that redundant style 😃
Activity
sjtrimble commentedon Apr 19, 2017
I believe we no longer need this - the intent is for the live-example to take up the full width of the screen.
gkalpak commentedon Apr 20, 2017
My comment is still not addressed, so I think this is still relevant.
petebacondarwin commentedon Apr 20, 2017
To make it easier to track:
The structure of the contents of a
<live-example>is determined here. Relying on the exact structure for styling is not a good idea, because it is likely to change (and in fact it so happens that #15887 will replace the<div>in the current structure).What we should do instead, is identify what exactly it is that you want to style and add a class on it, so that we can preserve the styling even if we move things around.
(If the Angular stuff on the live-example template doesn't make sense to you, let me know 😉)
petebacondarwin commentedon May 8, 2017
@gkalpak do you want to fix this?
gkalpak commentedon May 8, 2017
Will do.
gkalpak commentedon May 10, 2017
Actually, the
live-example > div:first-childstyle l=no longer has any effect (because the structure has changed). So, if (as @sjtrimble says) "the intent is for the live-example to take up the full width of the screen"), we just need to remove that redundant style 😃refactor(aio): remove redundant styles
refactor(aio): remove redundant styles
refactor(aio): remove redundant styles
refactor(aio): remove redundant styles
angular-automatic-lock-bot commentedon Sep 11, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.