- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 01:07 AM
In the portal I want to add space between Number and Assessment because those two are overlapping. In the below HTML and CSS part where should I change the code and what is the piece of code I need to add space between two columns.
HTML Code:
<div ng-if="!data.list.length" class="alert alert-info">
{{data.text.no_result}}
</div>
<div ng-if="data.list.length" class="panel panel-{{::options.color}} b vdp">
<div class="panel-heading vdp wide">
<h4>{{data.text.your_list}}</h4>
</div>
<div class="panel-body vdp" role="grid" aria-readonly="true" style="padding-top: 5px;">
<div class="header" role="row">
<div class="col-sm-1 cell">${Number}</div>
<div class="col-sm-4 cell">{{data.text.column_label}}</div>
<div class="col-sm-3 cell">${Vendor}</div>
<div class="col-sm-1 cell">${Due Date}</div>
<div class="col-sm-1 cell">${State}</div>
<div class="col-sm-2 cell flex-right">${}</div>
</div>
<div ng-repeat="asmt in data.list" class="contact-row" role="row">
<div class="col-sm-1 cell">{{::asmt.number}}</div>
<div class="col-sm-4 cell">{{::asmt.metric_type}}</div>
<div class="col-sm-3 cell">{{::asmt.vendor}}</div>
<div class="col-sm-1 cell">{{::asmt.due_date}}</div>
<div class="col-sm-1 cell">{{::asmt.state}}</div>
<div class="col-sm-2 cell flex-right">
<div ng-if="asmt.state_id=='ready'|| asmt.state_id=='wip'">
<a ng-href="?id=grc_take_survey&instance_id={{asmt.sys_id}}&type_id={{asmt.metric_type_id}}" role="button" class="button-link">
{{data.text.button_label}}
</a>
</div>
</div>
</div>
</div>
</div>
----------------------------------------------------------------------------
CSS Code:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 02:45 AM
Hello @subbarayudu ,
try to change this
<div class="col-sm-2 cell">${Number}</div>
<div class="col-sm-3 cell">{{data.text.column_label}}</div>
and
<div class="col-sm-2 cell">${Number}</div>
<div class="col-sm-3 cell">{{data.text.column_label}}</div>
this is going to make the Number bigger and the Assessment smaller
Hope that this helps you!
If the provided information answers your question, please consider marking it as Helpful and Accepting the Solution so other community users can find it faster.
All the Best,
Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 02:45 AM
Hello @subbarayudu ,
try to change this
<div class="col-sm-2 cell">${Number}</div>
<div class="col-sm-3 cell">{{data.text.column_label}}</div>
and
<div class="col-sm-2 cell">${Number}</div>
<div class="col-sm-3 cell">{{data.text.column_label}}</div>
this is going to make the Number bigger and the Assessment smaller
Hope that this helps you!
If the provided information answers your question, please consider marking it as Helpful and Accepting the Solution so other community users can find it faster.
All the Best,
Stefan