diff --git a/res/css/views/elements/_Validation.scss b/res/css/views/elements/_Validation.scss index f101f6cd26..4c059f9747 100644 --- a/res/css/views/elements/_Validation.scss +++ b/res/css/views/elements/_Validation.scss @@ -14,21 +14,25 @@ See the License for the specific language governing permissions and limitations under the License. */ -.mx_Validation_description { - margin-bottom: 1em; -} - .mx_Validation_details { padding-left: 20px; margin: 0; } +.mx_Validation_description + .mx_Validation_details { + margin: 1em 0 0; +} + .mx_Validation_detail { position: relative; font-weight: normal; list-style: none; margin-bottom: 0.5em; + &:last-child { + margin-bottom: 0; + } + &::before { content: ""; position: absolute;