[ 
https://jira.codehaus.org/browse/MSKINS-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=359559#comment-359559
 ] 

Tobias Oberlies commented on MSKINS-94:
---------------------------------------

bq. I do not think that this change is good but rather the plugin mojo to HTML 
generator is faulty.

Well it's the combined fault of the skin and the generator. The fact that the 
skin wants to indent under the headline elements leads to the problem. So to 
resolve this problem, either change the skin or the generator.


> Left margin on p elements leads to rugged indentation
> -----------------------------------------------------
>
>                 Key: MSKINS-94
>                 URL: https://jira.codehaus.org/browse/MSKINS-94
>             Project: Maven Skins
>          Issue Type: Bug
>          Components: Fluido Skin
>         Environment: maven-fluido-skin 1.3.1
>            Reporter: Tobias Oberlies
>              Labels: close-pending
>
> The {{margin-left}} on {{p}} elements in the Fluido skin leads to a rugged 
> indentation, and there is no way to avoid it in a typical Mojo site doc page.
> Consider for example the 
> [test-mojo|http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html]
>  page: On this page, each of the parameter descriptions is not enclosed in 
> {{p}} elements. In the overview table this leads to a proper alignment with 
> the "User property" and "Default value" lines because they are also not 
> enclosed in paragraphs.
> In the "Parameter Details" section however, the parameter names are enclosed 
> in {{p}} elements, making the parameter descriptions look as if they have a 
> negative indentation.
> Enclosing the parameter descriptions in {{p}} elements (in the Mojo sources) 
> would help for the parameter details section, but this then leads to a rugged 
> indentation in the overview table.
> So, since it cannot be ensured that {{p}} elements are used everywhere, 
> Fluido should not assing a left margin to them.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to