-
Notifications
You must be signed in to change notification settings - Fork 0
/
google-drive-ui-improvements.user.css
41 lines (40 loc) · 1.29 KB
/
google-drive-ui-improvements.user.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* ==UserStyle==
@name Google Drive - Show more of file names
@namespace github.com/acropup/acropup-UserStyle-CSS-Scripts
@homepageURL https://github.com/acropup/acropup-UserStyle-CSS-Scripts
@version 1.0.3
@description Shows more of filenames in folder view and search results.
@author Shane Burgess
==/UserStyle== */
@-moz-document url-prefix("https://drive.google.com/drive/") {
/* Filetype icon in Grid View */
.tohzcb, .a-nEbBXb .l-u-Ab-c, .D0pIte {
padding: 12px 4px !important;
}
/* Filetype icon in List View */
.l-t-T-c-j {
margin: 0px 8px;
}
/* Filetype icon in another kind of List View */
.PEfnhb .M3pype[data-column-field="4"] {
max-width: 38px;
}
/* Filenames in Grid View, show up to 3 lines */
div.l-u-V, span.l-Ab-T-r, div.Q5txwe, div.eAQ1W {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3 !important;
padding: 0 !important;
margin-left: 0;
font-size: .8rem !important;
line-height: .8rem !important;
max-height: 2.3rem !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
white-space: normal !important;
}
/* Filenames of "suggested" files in grid view */
.LnAvbc {
padding: 0px;
}
}