Contain p elements in one div element

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2024-05-02 19:56:33 +05:00
parent 30780b0284
commit 544ed5e188
Signed by: mctaylors
GPG key ID: 7181BEBE676903C1
2 changed files with 6 additions and 8 deletions

View file

@ -55,11 +55,11 @@ p, button {
font-size: 16px;
}
.dialog > .description {
.dialog .description > p {
margin: 12px 32px 0 64px;
}
.dialog > p, .dialog button > span {
.dialog p, .dialog button > span {
animation: 1300ms forwards onload-visibility;
}

View file

@ -14,12 +14,10 @@
<p class="error-code">
Error Code: 404
</p>
<p class="description">
Not Found.
</p>
<p class="description">
Server cannot find the requested resource. Make sure the link is spelled correctly.
</p>
<div class="description">
<p>Not Found.</p>
<p>Server cannot find the requested resource. Make sure the link is spelled correctly.</p>
</div>
<button class="left" onclick="close_button('https://github.com/mctaylors/NXInspired')">
<span>Close</span>
</button>