Bhanu-code / db-drawer

database schema visualization cli tool on localhost for node.js environment
https://www.npmjs.com/package/db-drawer
MIT License
9 stars 18 forks source link

[Bug] Wrong styles applied to Prisma ORM ejs #46

Closed haard18 closed 6 months ago

haard18 commented 6 months ago

Is there an existing issue for this?

Current Behaviour

image Very Congested Output due to merging of Mongo Styles on Prisma.ejs image

Expected Behaviour

Correct Styles are as follows body { font-family: "Reddit Mono", monospace; font-optical-sizing: auto; font-weight: 500; font-style: normal;

    }

    table {

        border-collapse: collapse;
        margin: auto;
        background-color: rgb(252, 252, 216);
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    }

    .table-name {
        text-align: center;
    }

    th,
    td {
        text-align: left;
        padding: 8px;
    }

    tr:nth-child(even) {
        background-color: #e1f8f8;
    }

    .flag {
        color: white;
        border-radius: 5px;
        text-decoration: none;
        border: none;
        font-weight: bold;
    }
    .github-link {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999;
    }
    .modelName {
        text-align: center;
        font-size: 1.5rem;
        font-weight: bold;
        background-color: #f8f8f8;
        padding: 10px;
    }
    .modelTable {
        margin: 20px auto;

    }

Steps to Reproduce

No response

Environment

- OS:
- Node:
- npm:

Anything else?

No response

On what browsers you're seeing the problem.

No response

haard18 commented 6 months ago

Would like to append external css in this