13261-Break line in acustic events

This commit is contained in:
Pablo Aragon 2024-04-01 14:58:11 +02:00
parent 29e5cf9658
commit 29077006d6
3 changed files with 14 additions and 2 deletions

View File

@ -1416,7 +1416,7 @@ function check_event_sound(settings) {
);
li.insertAdjacentHTML(
"beforeend",
`<div class="li-title"><a href="javascript:" onclick="show_event_dialog('${b64}')">${element.message}</a></div>`
`<div class="li-title"><a class="sound-events-li-link" href="javascript:" onclick="show_event_dialog('${b64}')">${element.message}</a></div>`
);
li.insertAdjacentHTML(
"beforeend",

View File

@ -195,6 +195,18 @@
width: 100%;
}
#tabs-sound-modal
div
.elements-discovered-alerts
ul
li
div.li-title
.sound-events-li-link
span {
line-break: anywhere;
line-height: 9pt;
}
.actions-sound-modal .buttons-sound-modal {
display: flex;
flex-direction: row;

View File

@ -511,7 +511,7 @@ function check_event_sound() {
);
li.insertAdjacentHTML(
"beforeend",
`<div class="li-title"><a href="javascript:" onclick="open_window_dialog('`+b64+`')">${element.message}</a></div>`
`<div class="li-title"><a class="sound-events-li-link" href="javascript:" onclick="open_window_dialog('`+b64+`')">${element.message}</a></div>`
);
li.insertAdjacentHTML(
"beforeend",