Skip to content

Commit 17fda06

Browse files
table
1 parent 5d75ba1 commit 17fda06

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_includes/safs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ <h3> <a href="{{ saf_dimension.url | relative_url }}">{{saf_dimension.title}}</
88
{% continue %}
99
{% endif %}
1010
<tr>
11-
<td {%- if saf.requirement -%} {%- if saf.requirement contains '**MUST**' %} style="background-color: red;" {%- elsif saf.requirement contains '**SHOULD**' %} style="background-color: orange;" {%- else %} style="background-color: blue;" {%- endif -%}{%- endif -%}>
11+
<td {%- if saf.requirement -%} {%- if saf.requirement contains '**MUST**' %} style="width:15%;background-color: red;" {%- elsif saf.requirement contains '**SHOULD**' %} style="width:15%;background-color: orange;" {%- else %} style="width:15%;background-color: blue;" {%- endif -%}{%- endif -%}>
1212
<a href="{{ saf.url | relative_url }}">
1313
{{ saf.title }}
1414
</a>
1515
</td>
16-
<td >
16+
<td style="padding-left: 5px;">
1717

1818
{% include saf_content.html summary_only=true saf=saf %}
1919
</td>

_includes/safs_summary.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h3> <a href="{{ saf_dimension.url | relative_url }}">{{saf_dimension.title}}</
88
{% continue %}
99
{% endif %}
1010
<tr>
11-
<td {%- if saf.requirement -%} {%- if saf.requirement contains '**MUST**' %} style="width:5%; background-color: red;" {%- elsif saf.requirement contains '**SHOULD**' %} style="width:5%;background-color: orange;" {%- else %} style="width:5%;background-color: blue;" {%- endif -%}{%- endif -%}>
11+
<td {%- if saf.requirement -%} {%- if saf.requirement contains '**MUST**' %} style="width:8%; background-color: red;" {%- elsif saf.requirement contains '**SHOULD**' %} style="width:8%;background-color: orange;" {%- else %} style="width:8%;background-color: blue;" {%- endif -%}{%- endif -%}>
1212
<a href="{{ saf.url | relative_url }}">
1313
{{ saf.title }}
1414
</a>

0 commit comments

Comments
 (0)