[beta] example screen content not visible until code is run
See original GitHub issueChallenge adjusting-the-padding-of-an-element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
.
Please describe how to reproduce this issue, and include links to screenshots if possible.
<style>
.injected-text {
margin-bottom: -25px;
text-align: center;
}
.box {
border-style: solid;
border-color: black;
border-width: 5px;
text-align: center;
}
.yellow-box {
background-color: yellow;
padding: 10px;
}
.red-box {
background-color: red;
padding: 20px;
}
.green-box {
background-color: green;
padding: 10px;
}
</style>
<h5 class="injected-text">margin</h5>
<div class="box yellow-box">
<h5 class="box red-box">padding</h5>
<h5 class="box green-box">padding</h5>
</div>
The “phone screen” where the code is shown doesn’t update until after the run test button is pressed. Has been this way since I began the CSS section of the beta. It makes it awkward when working on the cat photo app, but when it gets to showing the margins, it gives me the picture of the cat photo app instead of the yellow, red, and green boxes.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Remove default Splash Screen from Android 12 (Example)
So we can resolve this issue by suspending the app to draw an existing splash screen and show the system splash screen until...
Read more >Splash screens - Android Developers
(The splash screen is never shown during a hot start.) The system shows the splash screen using themes and any animations that you've...
Read more >barTintColor not working in iOS 15 | Apple Developer Forums
Hi,. When I run the following code in application(_ :didFinishLaunchingWithOptions) in iOS 15, the bar color turns transparent (thus, showing the black ...
Read more >Google Publisher Console messages
This page describes the various messages you can encounter when viewing the Google Publisher Console Page Request tab.
Read more >How to get Selenium to wait for a page to load - BrowserStack
Wondering how to wait for a web page to load in Selenium testing? Read tutorial to understand 3 methods to execute the same....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@no-stack-dub-sack Nice detective work!
I’ll see if I can find the code that could be used to fix this.
Edit: I’m looking at a solution for this locally. Will hopefully have a PR ready in the near future.
@no-stack-dub-sack Yes - once we ship @berkeleytrue’s layout, we can see whether these are still relevant and then tackle them. I’ll leave this issue open for now.