Logic Machine Forum
Scroll list CSS - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Scroll list CSS (/showthread.php?tid=5003)



Scroll list CSS - victor.back - 04.10.2023

Hi.

I´ve used a CSS code for make a text string to show in a scroll list, it shows as a scroll list but I can scroll down the list to see the entire text string. Do I have to do anything more do get this to work?
See the CSS code here
Code:
.longtextecg {
  width: 800px;
  max-height: 800px; /* Lägger till en maximal höjd */
  overflow-y: scroll; /* Lägger till en vertikal skrollbar när innehållet överstiger maxhöjden */
  white-space: pre-line; /* För att bryta raderna vid kommatecken */
  text-align: left;
}



RE: Scroll list CSS - admin - 05.10.2023

Try adding pointer-events: all !important; to CSS rules.


RE: Scroll list CSS - victor.back - 26.10.2023

(05.10.2023, 09:22)admin Wrote: Try adding pointer-events: all !important; to CSS rules.

Thanks that helped!