File tree Expand file tree Collapse file tree
SkylineToolsStore/src/org/labkey/skylinetoolsstore/view Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858 .content {margin : 8px 12px 0 0 ; padding :0 ; text-align :justify ;}
5959 .toolButtons {margin-top : 12px ;}
6060 .styled-button {
61+ display :inline-flex ;
62+ align-items :center ;
6163 box-shadow :rgba (0 ,0 ,0 ,0.0 .1 ) 0 1px 0 0 ;
6264 background-color :#5B74A8 ;
6365 border :1px solid #29447E ;
207209<%
208210 if (docCount == 1 && hasDocs) {
209211% >
210- <a href = " <%= h(tool . getDocsUrl()) % > " target = " _blank " rel = " noopener noreferrer " >< button type = " button " class = " styled-button " > Documentation <span class =" visually-hidden" > <%= h(tool. getName()) % > </span ></ button ></ a >
212+ <%= link(unsafe( " Documentation <span class=\ " visually-hidden\" > " + h(tool. getName()) + " </span>" )) . href(tool . getDocsUrl()) . clearClasses() . addClass( " styled- button" ) . target( " _blank " ) . rel( " noopener noreferrer " ) % >
211213<%
212214 } else if (docCount == 1 ) {
213215 Map . Entry suppPair = (Map . Entry )suppIter. next();
214216% >
215- <a href = " <%= h(suppPair . getKey()) % > " >< button type = " button " class = " styled-button " > Documentation <span class =" visually-hidden" > <%= h(tool. getName()) % > </span ></ button ></ a >
217+ <%= link(unsafe( " Documentation <span class=\ " visually-hidden\" > " + h(tool. getName()) + " </span>" )) . href(suppPair . getKey() . toString()) . clearClasses() . addClass( " styled- button" ) % >
216218<% } else if (docCount > 1 ) { % >
217219 <div class =" menuMouseArea" >
218220 <button type =" button" class =" styled-button" >Documentation <span class =" visually-hidden" ><%= h(tool. getName()) % > </span ></button >
You can’t perform that action at this time.
0 commit comments