File tree Expand file tree Collapse file tree 3 files changed +8
-16
lines changed
packages/repl/src/lib/Output Expand file tree Collapse file tree 3 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 198198 onclick ={() => {
199199 view = ' result' ;
200200 resultTab .reset ();
201- }}
202- ></ button >
201+ }}>< span class = " icon " ></ span ></ button
202+ >
203203 <button aria-current ={view === ' js' } onclick ={() => (view = ' js' )}>JS output</button >
204204 <button aria-current ={view === ' css' } onclick ={() => (view = ' css' )}>CSS output</button >
205205 <button aria-current ={view === ' ast' } onclick ={() => (view = ' ast' )}>AST output</button >
292292 }
293293
294294 &.reset-result {
295- width : 2 em ;
295+ height : 100 % ;
296296 vertical-align : bottom ;
297- background : url (./reset-light.svg ) 50% 50% no-repeat ;
298- background-size : 1em ;
299- margin-left : -1ch ;
297+ margin-left : -1em ;
300298 cursor : pointer ;
301- :root.dark & {
302- background-image: url (./reset-dark.svg );
299+
300+ .icon {
301+ background : currentColor ;
302+ mask : url (icons/refresh ) 50% / 1.2em no-repeat ;
303303 }
304304 }
305305 }
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments