![]() |
|
#1
|
||||
|
||||
|
Noticed this little design flaw while testing a couple of things out in the Arcade
![]() If the user has an avatar larger/wider than the sidebar is, it overflows off the side of the screen. To fix this, in v3ARCADE_MAIN, I changed this: [HTML]<a href="{vb:link member, {vb:raw bbuserinfo}}<vb:if condition="$vboptions['friendlyurl'] < 3">&<vb:else />?</vb:if>tab=v3arcade_stats"><img class="v3_gameicon" src="{vb:raw player.avatarurl}" alt="" border="0" /></a> [/HTML] To this: [HTML]<a href="{vb:link member, {vb:raw bbuserinfo}}<vb:if condition="$vboptions['friendlyurl'] < 3">&<vb:else />?</vb:if>tab=v3arcade_stats"><img class="v3_gameicon" src="{vb:raw player.avatarurl}" alt="" width="95%" border="0" /></a> [/HTML] Looks much better (when a member has a large avatar anyway) Screenshots attached...
|
|
#2
|
||||
|
||||
|
Thanks for sharing, I think I once posted something similar to that in the thread on vB.org - http://www.vbulletin.org/forum/showp...2&postcount=47
There are a few other places the avatar is oversized too, off the top of my head, the Mini User Stats (v3arcade_miniuserinfo template) springs to mind.
__________________
Arcade Junkies - one site, two arcades and a whole lot of other goodies. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|