File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -805,7 +805,9 @@ url = {http://statnetproject.org}
805805 ),
806806 div(id = " termdocbox" ,
807807 verbatimTextOutput(" termdoc" )
808- )
808+ ),
809+ div(id = " termexpand" ,
810+ icon(name = " expand" ))
809811 )
810812 ),
811813 tabPanel(" Control Options" ,
Original file line number Diff line number Diff line change @@ -90,14 +90,15 @@ $(document).ready(function(){
9090 $ ( ".chromewarningbox" ) . toggle ( 500 ) ;
9191 } ) ;
9292
93- $ ( "#termdocbox" ) . click ( function ( ) {
93+ $ ( "#termexpand" ) . click ( function ( ) {
94+ $ ( "i" , this ) . toggleClass ( "fa-expand fa-compress" ) ;
9495 if ( $ ( "#termdocbox" ) . height ( ) < 100 ) {
9596 $ ( "#termdocbox" ) . css ( {
96- "height" :"250px"
97+ "max- height" :"250px"
9798 } ) ;
9899 } else {
99100 $ ( "#termdocbox" ) . css ( {
100- "height" :"65px"
101+ "max- height" :"65px"
101102 } ) ;
102103 }
103104
Original file line number Diff line number Diff line change @@ -228,19 +228,17 @@ div.placeholder {
228228# termdocbox {
229229 position : absolute;
230230 margin-right : 10px ;
231- height : 65px ;
231+ max- height: 65px ;
232232 border : 1px solid # CECED8 ;
233233 border-radius : 5px ;
234234 overflow : scroll;
235235 z-index : 9 ;
236236}
237237# termexpand {
238238 position : absolute;
239+ right : 3px ;
239240 width : 30px ;
240241 height : 20px ;
241- background : # FFFFFF ;
242- border : 1px solid # CECED8 ;
243- border-radius : 5px ;
244242 color : # A5A5AD ;
245243 z-index : 10 ;
246244}
You can’t perform that action at this time.
0 commit comments