Skip to content

Commit c7b8335

Browse files
authored
Update view.css
1 parent 07db41c commit c7b8335

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

notesList/view.css

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
border-radius: 10px;
99
overflow: hidden;
1010
}
11+
.NotesList span {
12+
display: contents;
13+
}
1114
.NotesList .cm-link {
1215
pointer-events: none;
1316
}
@@ -17,6 +20,7 @@
1720
.NotesList[view='normal'] .listViewItem {
1821
display: block;
1922
height: 100%;
23+
width: 100%;
2024
overflow: hidden;
2125
cursor: pointer;
2226
margin: 0;
@@ -27,6 +31,7 @@
2731
.NotesList[view='compact'] .listViewItem {
2832
display: block;
2933
height: 100%;
34+
width: 100%;
3035
overflow: hidden;
3136
cursor: pointer;
3237
margin: 0;
@@ -101,19 +106,16 @@
101106
font-size: 12px;
102107
font-weight: normal;
103108
margin: 10px 0;
104-
line-height: 1.40;
105-
height: 55%;
106-
text-overflow: ellipsis;
109+
line-height: 1.4;
110+
/* text-overflow: ellipsis; */
107111
overflow: hidden;
108112
display: -webkit-box;
109-
-webkit-hyphens: auto;
110-
/* text-align: justify; */
111-
-webkit-box-orient: vertical;
112113
-webkit-line-clamp: 3;
114+
-webkit-box-orient: vertical;
115+
-webkit-hyphens: auto;
113116
flex-shrink: 1;
114117
flex-grow: 1;
115118
word-break: break-word;
116-
117119
}
118120
.NotesList .fileAttachments {
119121
display: flex;
@@ -132,6 +134,15 @@
132134
.NotesList .fileAttachments::-webkit-scrollbar {
133135
display: none;
134136
}
137+
.NotesList[view='normal'] img,
138+
.NotesList[view='compact'] img,
139+
.NotesList[view='normal'] .file,
140+
.NotesList[view='compact'] .file {
141+
min-width: 70px;
142+
max-width: 70px;
143+
min-height: 70px;
144+
max-height: 70px;
145+
}
135146
.NotesList img {
136147
width: 70px;
137148
height: 70px;
@@ -141,6 +152,8 @@
141152
cursor: default;
142153
pointer-events: none !important;
143154
opacity: 1 !important;
155+
background-color: var(--nav-item-background-active);
156+
border: 1px solid var(--nav-item-background-active);
144157
}
145158
.NotesList .file {
146159
width: 70px;
@@ -151,6 +164,7 @@
151164
display: flex;
152165
align-items: center;
153166
justify-content: center;
167+
border: 1px solid var(--nav-item-background-active);
154168
}
155169
.NotesList .fileExtension {
156170
background: white;
@@ -245,6 +259,7 @@
245259
border-radius: 0;
246260
width: 100%;
247261
height: 70px;
262+
border: none;
248263
}
249264
.NotesList[view='cards'] .listViewItem .fileAttachments img:not(:first-child) {
250265
display: none;
@@ -253,6 +268,7 @@
253268
width: 100%;
254269
border-radius: 0;
255270
margin: 0;
271+
border: none;
256272
}
257273
.NotesList[view='cards'] .listViewItem .fileAttachments .file:not(:first-child) {
258274
display: none;

0 commit comments

Comments
 (0)