Panel Macro question

AlysonA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 18, 2012

If you look at the Panel Macro page, you will see a panel with the title aligned to the left and nice rounded corners.

However, if you try creating one, the title will be aligned to the center by default and there won't be rounded corners. Is there any customizations needed to get the same behavior?

Thanks!

2 answers

1 accepted

0 votes
Answer accepted
Amalia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 19, 2012

This is a default style for Documentation Theme. Did you try it in a space with Documentation Theme?

Anyway, if you're not using the theme, you can add the following Stylesheet to get the same effect:

.panel, #content .panel {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}

.panel .panelHeader {
text-align: left;
line-height: 1em;
padding: 10px 10px 5px;
margin-bottom: 0;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
-webkit-border-top-right-radius: 5px;
-webkit-border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
}

Note that rounded corners won't work for IE.

AlysonA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 19, 2012

Great, thanks Amalia. =)

0 votes
Selcuk Savas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 19, 2012

Hi Alyson,

I suggest to test with different browsers without doing any more customisation.

Browsers may render diffrently.

I tested on our website and the result is exacly as expected. So you may have some CSS that cause this issue for you.

Cheers,

Selcuk

AlysonA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 19, 2012

Thanks Selcuk, I've tried on FF, Chrome and IE to no avail. The title is center aligned and corners are not rounded.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events