From 7fa9fd454ea094e2fd89f1fb03f98b2865164826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Wed, 29 Apr 2020 16:41:54 +0100 Subject: [PATCH] fix margins --- customize.dist/src/less2/include/comments.less | 8 +++++++- www/pad/app-pad.less | 1 - 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/customize.dist/src/less2/include/comments.less b/customize.dist/src/less2/include/comments.less index c2d86b1d3..66f0021ba 100644 --- a/customize.dist/src/less2/include/comments.less +++ b/customize.dist/src/less2/include/comments.less @@ -67,10 +67,16 @@ margin-top: 5px; } padding: 5px; + &:nth-child(2) { + margin-top: 10px; + }; + &:last-child { + margin-bottom: 10px; + } } .cp-comment { &:not(:first-child) { - // margin-top: 5px; + margin-top: 5px; } } .cp-comment-header { diff --git a/www/pad/app-pad.less b/www/pad/app-pad.less index c829d4347..56b2b727a 100644 --- a/www/pad/app-pad.less +++ b/www/pad/app-pad.less @@ -87,7 +87,6 @@ body.cp-app-pad { width: 300px; //background-color: white; margin: 0px 20px; - padding: 10px 0px; // XXX not applied at the bottom .comments_main(); } &.cke_body_width {