From 035ed33291fd84c7d0f7d75f17963f0257171849 Mon Sep 17 00:00:00 2001 From: Bertrand Croq Date: Thu, 26 May 2016 12:17:28 +0200 Subject: [PATCH] Fix compact form messages Add inline-block to compact form messages so they don't take the full width of their container. Fixes #3343 --- src/definitions/collections/form.less | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/definitions/collections/form.less b/src/definitions/collections/form.less index c8d960317..f912e294f 100755 --- a/src/definitions/collections/form.less +++ b/src/definitions/collections/form.less @@ -400,6 +400,9 @@ .ui.form.success .success.message:not(:empty) { display: block; } +.ui.form.success .compact.success.message:not(:empty) { + display: inline-block; +} .ui.form.success .icon.success.message:not(:empty) { display: flex; } @@ -412,6 +415,9 @@ .ui.form.warning .warning.message:not(:empty) { display: block; } +.ui.form.warning .compact.warning.message:not(:empty) { + display: inline-block; +} .ui.form.warning .icon.warning.message:not(:empty) { display: flex; } @@ -424,6 +430,9 @@ .ui.form.error .error.message:not(:empty) { display: block; } +.ui.form.error .compact.error.message:not(:empty) { + display: inline-block; +} .ui.form.error .icon.error.message:not(:empty) { display: flex; }