mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Restrict size of part images, if the part selector element is very wide
This improves UX
This commit is contained in:
parent
81f8b365e9
commit
5bd2d9b344
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ export default class extends Controller {
|
|||
}
|
||||
|
||||
let tmp = '<div class="row m-0">' +
|
||||
"<div class='col-2 p-0 d-flex align-items-center'>" +
|
||||
"<div class='col-2 p-0 d-flex align-items-center' style='max-width: 80px;'>" +
|
||||
(data.image ? "<img class='typeahead-image' src='" + data.image + "'/>" : "") +
|
||||
"</div>" +
|
||||
"<div class='col-10'>" +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue