This question is in reference to Atlassian Documentation: Office Excel Macro
When I use the Office Excel macro, the entire HTML table uses a CSS that has the text-align property set to justify. Is there a way to override this CSS?
OK.. I added a HTML macro with the contents:
<style>
table.offconn-192 tr td.oc-0 {text-align:left !important;}
table.offconn-192 tr td.oc-1 {text-align:left !important;}
table.offconn-192 tr td.oc-2 {text-align:left !important;}
table.offconn-192 tr td.oc-3 {text-align:left !important;}
table.offconn-192 tr td.oc-4 {text-align:left !important;}
table.offconn-192 tr td.oc-5 {text-align:left !important;}
table.offconn-192 tr td.oc-6 {text-align:left !important;}
table.offconn-192 tr td.oc-7 {text-align:left !important;}
table.offconn-192 tr td.oc-8 {text-align:left !important;}
table.offconn-192 tr td.oc-9 {text-align:left !important;}
table.offconn-192 tr td.oc-10 {text-align:left !important;}
table.offconn-192 tr td.oc-11 {text-align:left !important;}
</style>
Hi Bob,
you should be able to extend CSS by format-templates:
https://jira.yourdomain.tld/admin/viewstylesheet.action
with the right class it could be possible to overwrite styles (keep in mind the !important declaration)
Cheers,
Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.