Changing status lozenge width beyond 20 characters?

We have recently started to look at upgrading to Jira v6.3 and on initial inspection it appears our statuses are too long to fit in the status lozenge bars.

Is there a method to amend the default width of these beyond 20 characters?

 

1 answer

Hi Matt,

You can playaround with CSS and change the default value

.jira-issue-status-lozenge-max-width-medium {
    max-width: 12em;
}
to something bigger.. for example 15em or 20em.
I hope that will help.
Best Regards,
Mirek

Thanks - where does this need changing?

For example you can add this to your Announcement Banner:

<style media="screen" type="text/css">

.jira-issue-status-lozenge-max-width-medium {
    max-width: 20em;
}
</style>

Does this only work on the view screens? Is it possible to do the same for gadgets e.g. filter results?

Also can it be written into a file permanently rather than the banner?

Thanks

Announcement Banner is showing on every page that is way it should work on every page. It should work. However when viewing a gadget or filter results there might be a different class. Knowing the name of the class will allow you to change this to mach your needs. It is also possible to put this somewhere in the source file, however you will need to always remember to add this customization back again after every upgrade. You will need to test all of that on a test instance first.

Good luck!

Hi, I see that this thread is 6 month old but did anyone get the css-changes to work on gadgets, for example the Filter Result gadget. As far as I can see it uses the same css-class. I've tried to change media from screen to all, did not work. Also tried to add key-word !important, no luck.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,311 views 14 20
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot