Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
purr-data
Commits
6b1e1074
Commit
6b1e1074
authored
May 27, 2021
by
Prakhar Agarwal
🎯
Browse files
hover changes max width
parent
3a85f491
Changes
2
Hide whitespace changes
Inline
Side-by-side
emscripten/project/purr-data/css/webapp/webapp.css
View file @
6b1e1074
...
...
@@ -77,6 +77,14 @@
display
:
inline-block
;
}
#list-item
>
li
{
max-width
:
150px
;
}
#list-item
:hover
>
li
{
max-width
:
75px
;
}
#content
{
position
:
relative
;
}
...
...
pd/nw/pdgui.js
View file @
6b1e1074
...
...
@@ -2140,7 +2140,7 @@ function update_file_ls(){
list_item
.
classList
.
add
(
"
d-flex
"
,
"
justify-content-between
"
);
list_item
.
setAttribute
(
"
id
"
,
"
list-item
"
);
// Add name of file
a
.
append
(
"
./
"
+
file
);
a
.
append
(
file
);
// Add open button
a
.
onclick
=
function
(){
open_patch
(
file
)};
...
...
@@ -2148,7 +2148,6 @@ function update_file_ls(){
edit_icon
.
onclick
=
function
(){
edit_file_name
(
file
)};
li
.
append
(
a
);
li
.
classList
.
add
(
"
d-inline-block
"
,
"
text-truncate
"
);
li
.
style
.
maxWidth
=
"
75px
"
;
//append elements
list_item
.
append
(
li
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment