File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,10 @@ class="html-api-debugger-container html-api-debugger--grid"
106
106
</details>
107
107
<div class="full-width html-api-debugger--grid">
108
108
<div>
109
- <h2>Interpreted by HTML API</h2>
110
- <div><button type="button" data-wp-on-async--click="handleCopyTreeClick" name="tree__html-api">Copy tree 📋</button></div>
109
+ <div class="heading-and-button">
110
+ <h2>Interpreted by HTML API</h2>
111
+ <button type="button" data-wp-on-async--click="handleCopyTreeClick" name="tree__html-api">Copy tree 📋</button>
112
+ </div>
111
113
<div
112
114
data-wp-on-async--mouseover="handleSpanOver"
113
115
data-wp-on-async--mouseleave="clearSpan"
@@ -119,8 +121,10 @@ class="html-api-debugger-container html-api-debugger--grid"
119
121
</div>
120
122
</div>
121
123
<div>
122
- <h2>Interpreted from DOM</h2>
123
- <div><button type="button" data-wp-on-async--click="handleCopyTreeClick" name="tree__dom">Copy tree 📋</button></div>
124
+ <div class="heading-and-button">
125
+ <h2>Interpreted from DOM</h2>
126
+ <button type="button" data-wp-on-async--click="handleCopyTreeClick" name="tree__dom">Copy tree 📋</button>
127
+ </div>
124
128
<div data-wp-class--mutated="state.hasMutatedDom"><ul id="dom_tree" data-wp-ignore></ul></div>
125
129
</div>
126
130
</div>
Original file line number Diff line number Diff line change 116
116
.highlight-span {
117
117
outline : 2px solid # 0000ff77 ;
118
118
}
119
+
120
+ .heading-and-button {
121
+ display : flex;
122
+ justify-content : space-between;
123
+ align-items : center;
124
+
125
+ button {
126
+ height : 100% ;
127
+ }
128
+ }
119
129
}
120
130
121
131
# rendered_iframe {
You can’t perform that action at this time.
0 commit comments