-
Bug
-
Resolution: Fixed
-
Trivial
-
3.0.10
-
None
-
Firefox 12.0
If you upload a file with a long filename the arrow_right.gif image is displayed on the link name instead of being placed on the right border.
The background-image is positioned with:
a.right { background: none no-repeat 95% 60%; }
|
The link has a width of "padding-left: 12px" plus the length of the filename. If the filename is to long, that 95% will be too left and is displayed on the link.
Fix:
Change this:
Open: \styles\prosilver\template\posting_editor.html
FIND:
<dd><a href="{attach_row.U_VIEW_ATTACHMENT}" class="{S_CONTENT_FLOW_END}">{attach_row.FILENAME}</a></dd>
|
Replace with:
<dd><a href="{attach_row.U_VIEW_ATTACHMENT}" class="{S_CONTENT_FLOW_END} attachfile">{attach_row.FILENAME}</a></dd>
|
Open: \styles\prosilver\theme\links.css
FIND:
a.right { background: none no-repeat 95% 60%; }
|
ADD AFTER:
a.attachfile { background: none no-repeat 100% 60%; }
|
FIND:
a.right, a.right:active, a.right:visited {
|
padding-right: 12px;
|
}
|
ADD AFTER:
a.attachfile, a.attachfile:active, a.attachfile:visited {
|
padding-right: 9px;
|
}
|
FIND:
a.right:hover {
|
color: #d2d2d2;
|
text-decoration: none;
|
background-position: 100% 60%;
|
}
|
ADD AFTER
a.attachfile:hover {
|
padding-right: 12px;
|
text-decoration:none;
|
}
|
The different "padding-right" by ":hover" will cause a visible effect, similar to the :hover-effect before.
- is related to
-
PHPBB-11197 Prefix the css classes for the small arrow with "arrow".
- Unverified Fix