Superfluous extra space inserted automatically

Florian Pircher
Posts: 176
Sometimes this happens inline (Comment_56232), sometimes it breaks a paragraph (Comment_56515). I have seen such cases more and more over the last month.
This is what happens when editing such a post:

This is what happens when editing such a post:

4
Comments
-
Odd. I know when viewing threads here, I've often seen an enormous amount of extra space... always in the first post of a thread, and nowhere else.
0 -
This is actually happening due to a CSS clear float display table property on the last child (DOM element) of the message block. In the example mentioned by @Florian Pircher, the last child is the bold tag (b). There is an :after pseudo selector which has a display property set to "table" in CSS. This is causing the large empty space.
So if the bold tag wasn't there in the last point (#4), the text would have resided on the same line. Maybe this could be fixed by reporting in the Vanilla Forums discussion page.
Edit: The huge empty space is due to the display: table property, and the next lines after a bold numeral is due to the clear float.3 -
Thank you @Saurabh Sharma. I’ll submit this to Vanilla and see what they suggest.0
-
@James Hultquist-Todd, if the Admin or Webmaster has access to the style.css file, adding this CSS snippet will fix the issue:
.userContent.Message > *:last-child::after { display: unset !important; clear: none !important; }
This shall be added at the end of style.css file.0 -
I have had this experience as well!0
-
Thank you, @Saurabh Sharma! I made the edit and that seems to fix it.
0
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 811 Font Technology
- 1.1K Technique and Theory
- 628 Type Business
- 449 Type Design Critiques
- 547 Type Design Software
- 30 Punchcutting
- 137 Lettering and Calligraphy
- 84 Technique and Theory
- 53 Lettering Critiques
- 493 Typography
- 307 History of Typography
- 115 Education
- 71 Resources
- 505 Announcements
- 81 Events
- 106 Job Postings
- 151 Type Releases
- 166 Miscellaneous News
- 271 About TypeDrawers
- 53 TypeDrawers Announcements
- 117 Suggestions and Bug Reports