Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pagedjs
pagedjs
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 144
    • Issues 144
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 8
    • Merge Requests 8
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Tools
  • pagedjspagedjs
  • Issues
  • #225

Closed
Open
Opened Jul 06, 2020 by Sebastian Raffel@sebastianraffel
  • Report abuse
  • New issue
Report abuse New issue

Split tables: css content with counters in td::before is lost in the first row with SemanticUI

Hi :)

In tables that are styled with SemanticUI and split into pages, css contents that use a counter() text are lost in the first row:

first ::before is lost

Example: https://jsfiddle.net/mcdqwkxu/

#mytable td::before {
  content: "Figure " counter(countFigures) " - ";
}

Workarounds:

  • don't use SemanticUI
  • use e.g. #myTable td a::before { content: "Figure " counter(countFigures) " - " } (not td directly, something inside of it)
  • Emulate css media type: print occasionally (usually the first occurrence) fixes this
Edited Jul 06, 2020 by Sebastian Raffel
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: tools/pagedjs#225