Skip to content

Commit a6a7819

Browse files
committed
Increases width of span for author profile editing for Github Meets CPAN
1 parent 3585984 commit a6a7819

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

root/account/profile.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
</fieldset>
6565

6666
<fieldset><legend>Profiles</legend>
67-
<label><span></span><select onchange="return addProfile(this)">
67+
<label><span class="account-author-profiles"></span><select onchange="return addProfile(this)">
6868
<option>Add Profile</option>
6969
<% FOREACH profile IN profiles; profile.value.id = profile.key -%>
7070
<option value="<% profile.value.json %>"><% profile.value.name %></option>
@@ -74,7 +74,7 @@
7474
<div id="profiles">
7575
<% FOREACH profile IN author.profile.sort('name'); known = profiles.${profile.name} -%>
7676
<div class="profile">
77-
<label><span>
77+
<label><span class="account-author-profiles">
7878
<% IF known -%>
7979
<img src="/static/images/profile/<% profile.name %>.png" width=16 height=16><% known.name %></span>
8080
<input type="hidden" name="profile.name" value="<% profile.name %>" />
@@ -109,7 +109,7 @@
109109
select.selectedIndex = 0;
110110
var container = $('#profiles');
111111
var html = '<div style="display: none" class="profile">'
112-
+ '<label><span>';
112+
+ '<label><span class="account-author-profiles">';
113113
if(value) {
114114
html += '<img src="/static/images/profile/' + profile.id + '.png" width=16 height=16>'
115115
+ profile.name + '</span>'

root/static/css/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,10 @@ button.favorite:hover, button.favorite.active, a.favorite.active, a.favorite:hov
410410
display: inline-block;
411411
}
412412

413+
.account-author-profiles {
414+
width: 155px;
415+
}
416+
413417
.icon {
414418
padding-left: 24px;
415419
background-repeat: no-repeat;

0 commit comments

Comments
 (0)