From ab9908f44c8def7868d471392b603aa3af831c4c Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Mon, 7 Sep 2015 18:15:41 +0430 Subject: [PATCH] fix file-list: fix long file-names overflowing file icon --- build/style.css | 2 ++ releases/hawk-1.0.0.zip | Bin 1137099 -> 1137156 bytes src/less/components/entries.less | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/build/style.css b/build/style.css index 0ae9d64..374a77c 100644 --- a/build/style.css +++ b/build/style.css @@ -275,7 +275,9 @@ button.coming-soon::after { .file p, .directory p { flex: 1 1; + max-width: calc(100% - 9rem); text-overflow: ellipsis; + word-wrap: break-word; } .file > span, .directory > span { diff --git a/releases/hawk-1.0.0.zip b/releases/hawk-1.0.0.zip index 5ed9b678ae3f1880a23e68f4ce4cf270d00328be..a47f6a5eadee6419487271e847eb986bbe21b46f 100644 GIT binary patch delta 601 zcmX@T*|lYhD^GwoGYc032)vj$kw=LMNE#@ryqKu&4iLlH(eh^b*Vf^^)wYA zxpB`nBOtZ8#8{RYL{B!;=L6A4T&#sbG-Je>4?ueRc@M@LydcKPFvf@MAVyCd<6908 zqdJ|jixtFR&t*&mGqQ>p(>XyRm#Z1?Fo75w>lkIhx-PUbeq{lP9PeVZ0UO9VgYiDt zoM#IdlNf+ zXa<=dqAJ+M#tRCL=~w?>@z-Er@ZbJgTX2VvOm1R@Zh2-(Nrsg|a$-)hhM|Fhs)DY9 zWl?Ib=Jfe?g0kWY3g!7lDZ1rFi3L^)NkyrN*}5Qs?Yry*lSP4sPnQo71clo4;1EGW z5Zx9cXaJ&jgb3<`=$9daCLmfqRL~Yg$At>ofap0;`WBRy2otmfi3f)XT7l^PFo^nd zVS*MQK1Vo&c7oD1;eys6@txri^|L1Pf@A1P>! S8Ya`HM+)k(d4&i9(+L1+e&JOB delta 548 zcmZqK;(B_sD^GwoGYc032qaZaUCV)Vo@zU2Th zs?!;}SV0W-T*gE&Bddrpof9N-xtj3~6Ns^~j!_n@>q0BzR~C@S@h(Oiuz{>I81IA4 zdA5Kti4iE(?zM;!h?#(x8Hibcm=%cGfS4VKIe?fGh`E568;E&;m=}oofS7-~*CGLq zW{~+Is)Ai?yrAIlpOq{vroq4f7$T?-qLo4gO+a)+sGu!~o*pV_1EQ}&Y2h#kKQK(t5+vReCTInsPlQ3# zvxf^>fcTD3x*AGv4HvWqiGK=*sMm{t&{wqhY=9{(vgB@AoanKg2o`aBT~>B S)qB$~L<;J$35Ey)qZ|M?maYB( diff --git a/src/less/components/entries.less b/src/less/components/entries.less index 9e8d46c..6df73b6 100644 --- a/src/less/components/entries.less +++ b/src/less/components/entries.less @@ -15,7 +15,11 @@ p { flex: 1 1; + max-width: ~'calc(100% - 9rem)'; + text-overflow: ellipsis; + + word-wrap: break-word; } > span {