Sometimes you need to limit a Confluence 4.x search to specific space.
But with a lof spaces, names becomes longer :-( than the space list box width.
There is space left, so any ideas who to increase the width?
I'm not a how-to-modify-Confluence-CSS expert %-} , so I would appreciate a detailed how :-)
In order to make it looks neat, I recommend increasing the width of the whole search bar rather than just increasing the width of your "All Spaces" field.
Please try the following steps and see if it helps:
Now your whole search bar should be wider to facilitate the long space name. Please modify the px (pixel) parameter appropriately as you preferred.
Please do let me know if you need to modify only the space name, there might be some trick that might help you achieve it.
Hope it helps.
I have double check with a long name and apparently the above CSS won't help as it will only made the bar wider but the name itself is still limited from the source code.
Here is the list of improvement request regarding this issue:
On top of Septa's Answer, as you know Confluence will only limit the Space name to 20 character, in search filter panel. Despite you increase the CSS, it will just show ellipsis instead of the full name of Space.
We've found the cause of this issue in <tt>SpacePickerHelper.java</tt>, in <tt>com.atlassian.confluence.search</tt>. The variable is only defined as 20, which is very less.
If you know how to edit the source code, you could try and change the following variable to maybe 50, and compile Confluence source.
private static final int MAX_SPACE_NAME_LENGTH = 20;
Hope this helps
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, Jessica here from the Confluence Product Marketing team! July’s community challenge is all about sharing pictures — and as an extension of our first post on what ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs