From 63bfece29494fea177bba90515be79a3cde09188 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 11 Apr 2020 18:09:07 +0200 Subject: [PATCH] Diagnosis items now contain raw HTML, misc cosmetic / readability tweaks --- src/css/style.less | 11 ++++++++++- src/views/diagnosis/diagnosis_show.ms | 8 ++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/css/style.less b/src/css/style.less index 395ab687..016c6cfb 100644 --- a/src/css/style.less +++ b/src/css/style.less @@ -980,7 +980,8 @@ input[type='radio'].nice-radio { transition: none !important; } -/* Just to be able to override list-group-item with alert-success's background and border colors */ +/* Diagnosis styles */ + .alert-success-yo { background-color: #dff0d8; border-color: #d6e9c6; @@ -1006,3 +1007,11 @@ input[type='radio'].nice-radio { border-color: lightgrey; color: grey; } + +.diagnosis-item code { + word-break: break-all; +} + +.diagnosis-item ul > li { + padding-top: 0.3em; +} diff --git a/src/views/diagnosis/diagnosis_show.ms b/src/views/diagnosis/diagnosis_show.ms index c5f3759c..f5edac5a 100644 --- a/src/views/diagnosis/diagnosis_show.ms +++ b/src/views/diagnosis/diagnosis_show.ms @@ -37,11 +37,11 @@