From 339afafa050985acbfe9f4f5453590b8f108e5f0 Mon Sep 17 00:00:00 2001 From: apprb Date: Mon, 13 Oct 2014 16:43:20 +0900 Subject: [PATCH] magic number removed in FileTransferInstance --- src/filetransferinstance.cpp | 5 ++++- ui/chatArea/innerStyle.css | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/filetransferinstance.cpp b/src/filetransferinstance.cpp index ea3d74dee..158ddd65c 100644 --- a/src/filetransferinstance.cpp +++ b/src/filetransferinstance.cpp @@ -423,11 +423,14 @@ QString FileTransferInstance::wrapIntoForm(const QString& content, const QString res += "
" + imgLeftA + "
" + imgLeftB + "
\n"; res += "\n"; res += insertMiniature(type); - res += "\n"; + res += "\n"; res += "
"; res += content; res += "
\n"; res += "\n"; + res += "\n"; + res += "
\n"; + res += "\n"; res += "\n"; res += "
" + imgAstr + "
" + imgBstr + "
\n"; res += "\n"; diff --git a/ui/chatArea/innerStyle.css b/ui/chatArea/innerStyle.css index 823c8dfbe..b5c537362 100644 --- a/ui/chatArea/innerStyle.css +++ b/ui/chatArea/innerStyle.css @@ -41,7 +41,7 @@ div.green { margin-top: 12px; margin-bottom: 12px; margin-left: 0px; - margin-right: 12px; + margin-right: 0px; color: @white; background-color: @green; font: @small; @@ -51,7 +51,7 @@ div.silver { margin-top: 12px; margin-bottom: 12px; margin-left: 0px; - margin-right: 12px; + margin-right: 0px; color: @black; background-color: @lightGrey; font: @small; @@ -61,7 +61,7 @@ div.red { margin-top: 12px; margin-bottom: 12px; margin-left: 0px; - margin-right: 12px; + margin-right: 0px; color: @white; background-color: @red; font: @small;