Skip to content

table texts do not change  #149

Open
@csdal

Description

@csdal

table tags do not inherit from html-set css rules.


Solution:

  1. Add table css rules at FolioReader-Android > assets > css > Style.css.
html.textSizeOne, table.textSizeOne { font-size: 13px !important; }
html.textSizeTwo, table.textSizeTwo{ font-size: 15px !important; }
html.textSizeThree, table.textSizeThree { font-size: 17px !important; }
html.textSizeFour, table.textSizeFour { font-size: 19px !important; }
html.textSizeFive, table.textSizeFive { font-size: 21px !important; }
  1. Edit FolioReader > ui > base > HtmlUtil.java
htmlContent = htmlContent.replace("<html ", "<html class=\"" + classes + "\" ");
htmlContent = htmlContent.replace("<table", "<table class=\""+classes+"\" ");
return htmlContent;```

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions