Permalink
Browse files

Fix alignment of `dt`s on user page.

Was broken in 9e77c26. Fix by changing the
`clear:both` added in that commit to apply *only* to the label used
for the "Other Releases" select list. Closes #1.
  • Loading branch information...
1 parent 78c4495 commit 6d1eeee26389b61fc82afaa7b1af299d4397728f @theory theory committed May 18, 2011
Showing with 6 additions and 1 deletion.
  1. +2 −0 Changes
  2. +1 −1 lib/PGXN/Site/Templates.pm
  3. +3 −0 lib/PGXN/Site/ui/css/layout.css
View
@@ -1,6 +1,8 @@
Revision history for Perl extension PGXN::Site
0.7.3
+ - Fixed alignment of definition list items on user page. Reported by
+ Daniele Varrazzo (Issue #1).
0.7.2 2011-05-16T20:35:12
- Added Router::Resource to list of requirements. Was inadvertently
@@ -330,7 +330,7 @@ template distribution => sub {
}
}
# Create a select list of all other versions.
- dt { T 'Other Releases' };
+ dt { class is 'other'; T 'Other Releases' };
dd {
select {
onchange is 'window.location.href = this.options[this.selectedIndex].value';
@@ -549,6 +549,9 @@ ul.sideMenu {
text-align:right;
width: 8em;
float:left;
+}
+
+.dist .meta dt.other {
clear:both; /* Needed for some versions of FireFox */
}

0 comments on commit 6d1eeee

Please sign in to comment.