Skip to content

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelGauthier committed Aug 3, 2021
1 parent dab60c6 commit ddfbe88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Expand Up @@ -47,7 +47,10 @@ buildRulesTable model =

buildComplianceBar : Float -> String -> Html msg
buildComplianceBar val t =
div[class ("progress-bar progress-bar-" ++ t), style "flex" (fromFloat val)][text ((fromFloat val) ++ "%")]
if val > 0 then
div[class ("progress-bar progress-bar-" ++ t), style "flex" (fromFloat val)][text ((fromFloat val) ++ "%")]
else
text ""

getValueCompliance : Maybe Float -> Float
getValueCompliance f =
Expand Down
Expand Up @@ -43,10 +43,6 @@
width: 100%;
display: inline-block;
}
/* ================ */
.rudder-template .template-sidebar .sidebar-list ul{
padding-left: 15px;
}
/* === OVERRIDE JSTREE === */
.jstree-default li:last-child {
background: transparent;
Expand Down

0 comments on commit ddfbe88

Please sign in to comment.