albumtree in select mode will grow beyond the sidebar

fatal_g
fatal_g's picture

Joined: 2009-01-14
Posts: 88
Posted: Wed, 2011-09-21 22:17

I have some albums with pretty long names. I found that this causes the <select> tag to grow (unbounded) outside of the sidebar. it was pretty ugly

What I changed to fix it was edit the /gallery/modules/albumtree/views/albumtree_block_select.html.php file where,
<select onchange="window.location=this.value"> to->
<select onchange="window.location=this.value" style='width:100%;'>

This worked for me on the default wind theme. I suspect it might cause issues on some custom themes? Is this something that should be written as a bug/feature? Or posted to the forum like so?

Thanks

|------------------------------------------\
| You never fail unless you stop trying. |>
|------------------------------------------/