diff --git a/midas/cli/hl_diagnostic.css b/midas/cli/hl_diagnostic.css index 8b09b7f..d975c3e 100644 --- a/midas/cli/hl_diagnostic.css +++ b/midas/cli/hl_diagnostic.css @@ -4,9 +4,11 @@ span { &.error { --col: 255, 0, 0; } + &.warning { --col: 250, 160, 0; } + &.info { --col: 150, 190, 250; } @@ -19,12 +21,12 @@ span { } &:hover:not(:has(.with-msg:hover)) { - .message { + &>.message { display: inline-block; } } - .message { + &>.message { position: absolute; top: calc(100% + 0.2em); left: -.2em; @@ -33,7 +35,8 @@ span { padding: 0.2em 0.4em; border-radius: .2em; z-index: 10; - width: 300%; + width: max-content; + max-width: 60vw; } } } \ No newline at end of file