Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

suggest horizontal tables css #145

Closed
rkdgusrnrlrl opened this issue Sep 14, 2018 · 0 comments
Closed

suggest horizontal tables css #145

rkdgusrnrlrl opened this issue Sep 14, 2018 · 0 comments

Comments

@rkdgusrnrlrl
Copy link

  • Framework Version: 3.0.0
  • Flavor used:
  • Operating System/Browser: Ubuntu 18.10 / Chrome
  • Code to reproduce: Horizontal tables
  • Screenshots:
    screenshot from 2018-09-14 19-56-38
    screenshot from 2018-09-14 20-00-21

i hope horizontal tables look like second screenshot. because actually table is not to bigget then screen but size of table is over than screen(exist scroll)

but i don't know you have mean to keeping first thing. so i just suggest this carefully
if you have reason to keep first thing, i want know that reason because that is helpful to make web application

anyway now i try override css to look like second, i leave that css at bottom. actually i'm not frontend developer so my css knowledge is so low. so i don't know that have problem.

    table td {
        text-align: left;
    }
    /* it is enough fit horizontal table fit on screen*/
    table.horizontal thead {
        flex: .2 0 0;
    }
    table.horizontal tbody {
        flex: .8 0 0;
        margin-left: 0;
    }
    table.horizontal th {
        width: auto;
    }
    table.horizontal td {
        width: auto;
    }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant