File tree Expand file tree Collapse file tree
src/components/BootstrapBlazor.PdfReader Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33@inherits BootstrapModuleComponentBase
44
55<div @attributes =" @AdditionalAttributes" id =" @Id" class =" @ClassString" style =" @StyleString " >
6- @if ( ShowToolbar )
7- {
8- < div class = " bb-view-toolbar " >
6+ < div class = " bb-view-toolbar " >
7+ @if ( ShowToolbar )
8+ {
99 <div class =" bb-view-title" >
1010 @if (EnableThumbnails )
1111 {
7979 </div >
8080 </div >
8181 </div >
82- </ div >
83- }
82+ }
83+ </ div >
8484 <div class =" bb-view-main" >
8585 @if (EnableThumbnails )
8686 {
Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ public partial class PdfReader
131131
132132 private string ? StyleString => CssBuilder . Default ( )
133133 . AddClass ( $ "--bb-pdf-view-height: { ViewHeight } ;", ! string . IsNullOrEmpty ( ViewHeight ) )
134+ . AddClass ( $ "--bb-pdf-toolbar-height: 0;", ! ShowToolbar )
134135 . AddClassFromAttributes ( AdditionalAttributes )
135136 . Build ( ) ;
136137
You can’t perform that action at this time.
0 commit comments