Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove default <table> styling from the theme css styles #472

Closed
m-sasashita opened this issue May 21, 2018 · 1 comment
Closed

Remove default <table> styling from the theme css styles #472

m-sasashita opened this issue May 21, 2018 · 1 comment

Comments

@m-sasashita
Copy link

When <table> tags as html with custom styling are used inside .md files,
default styles that are defined inside theme.styl file overrides those custom styles,
making it impossible to use table tags to style custom tables.

Proposal:

Remove css styles that are bound to <table> element inside [/theme/styles/theme.styl] and add a custom class to default tables that are parsed from md syntax.

Steps to reproduce:

  1. Use table tags
  2. Define the custom styles that overrides the default styles like this:
    th, td {border: none}
    ※the default style:
    th, td {border: 1px solid #dfe2e5}

Expected:

Override the default style by the custom style.

@ulivz ulivz added type: feature request Request to add a new feature and removed type: feature request Request to add a new feature labels May 21, 2018
@ulivz
Copy link
Member

ulivz commented May 21, 2018

You can override the default style by using: #app table { } selector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants