diff options
author | Ignas Kiela <me@ignaskiela.eu> | 2019-06-16 00:43:43 +0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-16 11:26:49 -0400 |
commit | 3f95a6e189e1e94ab946fc5cb7f19e9fea0e5a9c (patch) | |
tree | 924c341f28277e972fdab81eec7f15e09007ded5 | |
parent | 766903d9203c730b645a33c2edbed930a222249f (diff) |
Clip filename and commit message in tree view
-rw-r--r-- | scss/main.scss | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/scss/main.scss b/scss/main.scss index f170845..968bceb 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -25,7 +25,7 @@ pre { .tree-list { display: grid; // mode name - grid-template-columns: auto 1fr 4fr auto auto; + grid-template-columns: auto 1fr fit-content(40em) auto auto; svg { color: #777; @@ -39,10 +39,22 @@ pre { color: $gray-900; } + .name.blob { + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + } + .mode, .commit, .commit a, .date, .size { color: $gray-700; } + .commit { + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + } + & > div { padding: 0.1rem 0.5rem; background: transparent; |