Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pre tag - is it possible to make full width?
Message
 
 
To
All
General information
Forum:
CSS
Category:
Other
Title:
Pre tag - is it possible to make full width?
Miscellaneous
Thread ID:
01612577
Message ID:
01612577
Views:
43
Hi everybody,

I made changes in my modalInfo.html to use pre tag instead of textarea. It is now quite nice except for the fact it doesn't use full width of the form (I use modal and size = 'lg').

Is there a way to style pre tag correctly?

Here is my form now:
<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" ng-click="$dismiss()" aria-hidden="true">×</button>
    <h2 class="modal-title" style="text-align:center">{{ title }}</h2>
</div>
<div class="modal-body">
   
    @*<textarea ng-model="message" ng-readonly="true" rows="20"  class="form-control col-lg-12"></textarea>*@ 
    < pre class="input-xxlarge">{{message}}</ pre>
   
</div>
<div class="modal-footer">
    <button class="btn btn-primary" data-dismiss="modal" aria-hidden="true" ng-click="$dismiss()">{{ okLabel }}</button>   
</div>
and that input-xxlarge doesn't have any effect. Here is how the form looks like (see attached).

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform