AdminLTE
AdminLTE copied to clipboard
Text inside panel is not visible
If you place a Bootstrap panel inside a modal, the text inside panel body is not visible, because the background-color ane text-color are the same (white).

<div class="example-modal">
<div class="modal modal-primary">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-dden="true">×</span>
</button>
<h4 class="modal-title">Modal Primary</h4>
</div>
<div class="modal-body">
<!-- Panel -->
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Panel title</h3>
</div>
<div class="panel-body">
Panel content
</div>
</div><!-- /.panel panel-default -->
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline pull-left" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-outline">Save changes</button>
</div>
</div>
</div>
</div>
</div>
The primary modal must use white colored text to display properly. If you wish, you can add the following code to force dark colors in panels.
.panel-body {
color: #444;
}
If this works I will add it to AdminLTE. Thank you!
Hey Abdullah, Your example works great ! Hope to see this in the next version of AdminLTE.
:+1:
Fixed in master.