personium / legacy-docs

This repository is obsolete. Latest contents are maintained under new-docs. Therefore, please DO NOT open issues, fork or send pull request to this repository.
Apache License 2.0
2 stars 6 forks source link

Add CSS for table and table column to specify width #44

Closed dixonsiu closed 7 years ago

dixonsiu commented 7 years ago

Pandoc generates the following HTML for table and it does not look nice.

<table style="width:47%;">
<colgroup>
<col width="15%" />
<col width="16%" />
<col width="15%" />
</colgroup>

image1

We expect the following.

image2

dixonsiu commented 7 years ago

Add the following CSS styles to disable pandoc's effect.

table {
  width: 100% !important; }
  table col {
    width: auto !important; }