/pidgin/main: 292090c537cb: Change to spans in the default conve...

Elliott Sales de Andrade qulogic at pidgin.im
Wed Jan 16 23:41:58 EST 2013


Changeset: 292090c537cb92fe0e64d31e3108d3be1997747a
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2013-01-16 23:40 -0500
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/292090c537cb

Description:

Change to spans in the default conversation theme.

This seems to make the baseline work better with smileys. And I can't
remember why I went with divs in the first place.

diffstat:

 pidgin/themes/Contents/Resources/Content.html          |  4 ++--
 pidgin/themes/Contents/Resources/Incoming/Content.html |  8 ++++----
 pidgin/themes/Contents/Resources/main.css              |  6 ------
 3 files changed, 6 insertions(+), 12 deletions(-)

diffs (44 lines):

diff --git a/pidgin/themes/Contents/Resources/Content.html b/pidgin/themes/Contents/Resources/Content.html
--- a/pidgin/themes/Contents/Resources/Content.html
+++ b/pidgin/themes/Contents/Resources/Content.html
@@ -1,6 +1,6 @@
 <div class="x-container %messageClasses% %messageDirection%">
 	<abbr class="x-time" title="%time{yyyy-MM-ddTHH:mm:ssZZ}%">(%time%)</abbr>
-	<div class="x-sender" style="float: left">%sender%:</div>
-	<div class="x-message">%message%</div>
+	<span class="x-sender">%sender%:</span>
+	<span class="x-message">%message%</span>
 </div>
 <div id="insert"></div>
diff --git a/pidgin/themes/Contents/Resources/Incoming/Content.html b/pidgin/themes/Contents/Resources/Incoming/Content.html
--- a/pidgin/themes/Contents/Resources/Incoming/Content.html
+++ b/pidgin/themes/Contents/Resources/Incoming/Content.html
@@ -1,8 +1,8 @@
 <div class="x-container %messageClasses% %messageDirection%">
-	<div class="x-header" style="color: %senderColor%;">
+	<span class="x-header" style="color: %senderColor%;">
 		<abbr class="x-time" title="%time{yyyy-MM-ddTHH:mm:ssZZ}%">(%time%)</abbr>
-		<div class="x-sender">%sender%:</div>
-	</div>
-	<div class="x-message">%message%</div>
+		<span class="x-sender">%sender%:</span>
+	</span>
+	<span class="x-message">%message%</span>
 </div>
 <div id="insert"></div>
diff --git a/pidgin/themes/Contents/Resources/main.css b/pidgin/themes/Contents/Resources/main.css
--- a/pidgin/themes/Contents/Resources/main.css
+++ b/pidgin/themes/Contents/Resources/main.css
@@ -29,12 +29,6 @@ body {
 	font-weight: bold;
 }
 
-.x-time, .x-sender
-{
-	float: left;
-	margin-right: 4px;
-}
-
 .x-message p
 {
 	margin: 0;



More information about the Commits mailing list