Skip to content

Commit

Permalink
Set the max width for the tooltips
Browse files Browse the repository at this point in the history
Signed-off-by: Vanessa Fotso <[email protected]>
  • Loading branch information
vanessuniq committed Apr 26, 2023
1 parent b0a4067 commit a36f770
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/javascript/components/rules/forms/RuleForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ export default {
tooltips: function () {
return {
status:
"Applicable – Configurable: The product requires configuration or the application of policy settings to achieve compliance.<br> Applicable – Inherently Meets: The product is compliant in its initial state and cannot be subsequently reconfigured to a noncompliant state.<br> Applicable – Does Not Meet: There are no technical means to achieve compliance.<br> Not Applicable: The requirement addresses a capability or use case that the product does not support.",
"Applicable – Configurable: The product requires configuration or the application of policy settings to achieve compliance.<br><br>Applicable – Inherently Meets: The product is compliant in its initial state and cannot be subsequently reconfigured to a noncompliant state.<br><br> Applicable – Does Not Meet: There are no technical means to achieve compliance.<br><br> Not Applicable: The requirement addresses a capability or use case that the product does not support.",
status_justification: ["Applicable - Configurable", "Not Yet Determined"].includes(
this.rule.status
)
Expand Down Expand Up @@ -584,4 +584,8 @@ export default {
};
</script>

<style scoped></style>
<style>
.tooltip-inner {
max-width: 300px;
}
</style>

0 comments on commit a36f770

Please sign in to comment.