File tree Expand file tree Collapse file tree
stylesheets/DV/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,7 +87,9 @@ DV.model.Pages.prototype = {
8787
8888 this . viewer . elements . sets . width ( this . zoomLevel ) ;
8989 this . viewer . elements . collection . css ( { width : this . width + padding } ) ;
90- this . viewer . $ ( '.DV-textContents' ) . css ( { 'font-size' : this . zoomLevel * 0.02 + 'px' } ) ;
90+ var minFontSize = 10 ;
91+ var fontSize = Math . max ( minFontSize , this . zoomLevel * 0.02 ) ;
92+ this . viewer . $ ( '.DV-textContents' ) . css ( { 'font-size' : fontSize + 'px' } ) ;
9193 } ,
9294
9395 // Update the height for a page, when its real image has loaded.
Original file line number Diff line number Diff line change 3131.DV-mini .DV-textPage {
3232 margin-left : 7px ;
3333}
34+ .DV-mini .DV-textContents {
35+ margin : 20px ;
36+ }
3437
3538.DV-autoZoom .p0 ,
3639.DV-autoZoom .p1 ,
7679 padding-left : 0px ;
7780}
7881
82+ .DV-mini .DV-textCurrentPage {
83+ display : none;
84+ }
85+
7986/* Annotations ---------------------------------------*/
8087
8188.DV-mini .DV-annotationTab {
You can’t perform that action at this time.
0 commit comments