Controlling pop-up formatting
-
Hello again!
I’m having trouble with my modal pop-up formatting! I’ve added this CSS to my website:
.dtr-modal-content { white-space: normal; font-size: 10px; color: black; }
…which was enough to make all the text displayed when you click the green button next to a row appear a reasonable size. But, for some reason, all the data appears in bold, and when I inspect the page html, sure enough, there are a bazillion ‘ tags around each piece of data. Is there a way to switch that off, please? As you can probably tell, I’m no CSS expert ??
Second question: the modal pop-up is fine, but I had hoped that it would only display all the data which *isn’t* displayed on the main page. In other words, I’ve got 11 columns selected in the Data Publisher settings, and I have chosen to only display 6 of them on the main form. I had then hoped that the green ‘reveal’ button would show the additional 5 columns, not the original 6. Is that possible?
Finally, if I decided not to go modal but instead used the flat formatting for my data, I find the ‘long notes’ data (against item 01002, for example) just appears as a very long line of text, with no wrapping into the table-width (which is why I opted for the modal form instead!). Much left/right scrolling ensues! So my third question is: is there some CSS or other wizardry I can apply to the non-modal, flat version of the display that would cause text to wrap into nice fixed-width paragraphs of the sort you see on the modal form?
Sorry for being a CSS clutz!
Best wishes,
HowardThe page I need help with: [log in to see the link]
- The topic ‘Controlling pop-up formatting’ is closed to new replies.