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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

575 views 6 12
Read article

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