[ 
https://issues.apache.org/jira/browse/JSPWIKI-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18134751#comment-18134751
 ] 

Arturo Bernal commented on JSPWIKI-930:
---------------------------------------

Measured on master in a running instance (Tomcat 10.1, Chrome, default 
template), with two paragraphs in plain text and two in an information block. 
The first paragraph of the block is loose text and only the second one is 
inside a p element, so there is no paragraph margin between them: 23 pixels 
from the start of one to the start of the next inside the block, against 34 
pixels in plain text (23 of the line and 11 of margin). The block itself has a 
padding of 10.5 pixels above and below. This has the same cause as JSPWIKI-929, 
and the explanation that Dirk gave there. A fix would be to wrap the first 
content of the block in a p element, or to compensate in the style sheet. 
Limits: I measured the default template only, and the screenshot of the report 
was not compared. Leaving the issue open.

> Haddock – paragraph margins in CSS block markers
> ------------------------------------------------
>
>                 Key: JSPWIKI-930
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-930
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Templates and UI
>    Affects Versions: 2.10.3
>         Environment: Client is: 
> - Firefox 44.0.2 (Ubuntu 14.04). 
> Server is:
> - JSPWiki v2.10.2-svn-38 running in Payara Server 4.1
> - Container managed authentication is enabled using a file-based realm
> - HTTPS is enabled
> - JSPWiki policy is locked down such that only authenticated users have 
> access (both read and write)
>            Reporter: Dave Koelmeyer
>            Assignee: Dirk Frederickx
>            Priority: Minor
>         Attachments: JSPWikiCSSBlockMargins.png, JSPWikiCSSBlockMargins.txt
>
>
> Just a minor formatting note. There seem to be differences between blocks of 
> content placed with a CSS special block marker (e.g. %%information) compared 
> to the same content placed outside of the same block.
> With a quick look using the Firefox web developer tools, it looks like this 
> might be because of different margin values being used in the block.
> I'll attach a screengrab and some sample markup.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to