refactor(docs-infra): remove unnecessary wrapper <div>
from the "Cheat sheet" guide (#41051)
This commit removes an unnecessary wrapper `<div>` from the "Cheat sheet" guide. The CSS styles that referenced the element's ID (`#cheatsheet`) have been updated to use `.page-guide-cheatsheet` instead. PR Close #41051
This commit is contained in:
parent
f85a178a49
commit
76daca800e
@ -1,6 +1,5 @@
|
|||||||
<h1 class="no-toc">Cheat Sheet</h1>
|
<h1 class="no-toc">Cheat Sheet</h1>
|
||||||
|
|
||||||
<div id="cheatsheet">
|
|
||||||
<table class="is-full-width is-fixed-layout">
|
<table class="is-full-width is-fixed-layout">
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<th>Bootstrapping</th>
|
<th>Bootstrapping</th>
|
||||||
@ -391,4 +390,3 @@ so the <code>@Directive</code> configuration applies to components as well</p>
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
</div>
|
|
||||||
|
@ -176,7 +176,7 @@ aio-code {
|
|||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#cheatsheet {
|
.page-guide-cheatsheet & {
|
||||||
td:first-of-type,
|
td:first-of-type,
|
||||||
th {
|
th {
|
||||||
code {
|
code {
|
||||||
|
@ -81,7 +81,7 @@ table {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#cheatsheet {
|
.page-guide-cheatsheet {
|
||||||
|
|
||||||
table tbody td {
|
table tbody td {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user