File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 231231 white-space : normal ;
232232}
233233
234+ // ============================================================================
235+ // $ CODE COPY BUTTON
236+ // ----------------------------------------------------------------------------
237+ .stacks-copy-btn {
238+ .svg-icon ,
239+ .svg-icon * {
240+ pointer-events : none ;
241+ }
242+
243+ .iconCheckmark {
244+ color : var (--green-500 );
245+ }
246+ }
247+
234248
235249// ============================================================================
236250// $ LISTS
260274 border-radius : var (--br-md ) var (--br-md ) 0 0 ;
261275 border : 1px solid var (--bc-medium );
262276 max-height : 24rem ;
277+ padding-right : var (--su32 );
263278
264279 .dark-mode ({
265280 border-color : var (--bc-lighter );
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ module.exports = {
66 var tooltipId = "tooltip-" + ( name || Math . floor ( Math . random ( ) * 1000 ) ) ;
77
88 var output = `<button
9- class="s-btn s-btn__muted s-btn__icon ps-absolute t8 r8"
9+ class="stacks-copy-btn s-btn s-btn__muted s-btn__outlined s- btn__icon ps-absolute p4 bg-black-050 bc-black-100 t8 r8"
1010 data-action="clipboard#copy"
1111 data-s-tooltip-placement="top"
1212 data-controller="s-tooltip"
You can’t perform that action at this time.
0 commit comments