Profile Cards in Protean, weird spaces

I wonder if anybody has the same issue concerning Profile Cards Design

image_transcoder.php?o=sys_images_editor&h=1565&dpx=2&t=1695119810

UNA 13.1.0.B1 - Una hosted Cloud

  • 522
  • More
Replies (10)
    • I use the modules Advanced menu and profile cards from @AQB Soft as well, but they dont influence these empty lines in the profil card . I tested with and whithout these two (great) modules.

      • Hello!

        There is a problem with css styles, they add top and bottom margin for the images. I've added correction via studio->designer->injections. Check please.

        • Thank You @Alexey ! Will this be corrected in the next UNA update or is it caused by a custom module?

          • As the injection didn't solve the person profil card ''empty lines aka to wide spaces between the lines'' a simple question: Is this known as a UNA BUG ?

            Using the same setting and same custom modules (AQB profiöle cards and advanced menu), the ORGs profil cards dont have any of these prolems

            image_transcoder.php?o=sys_images_editor&h=1568&dpx=2&t=1695551075

            • Hello!

              Problem occurs because of custom HTML block which you have created with macros for browsing. HTML block contains vanilla CSS styles which influence on images' padding and so on. 

              So, to fix the problem, you should use another block type, RAW  for example.

              • Thank You! That did it.

                Good to know, that custom html blocks & macros sometimes conflict with the layout....

                • Peter, since HTML blocks most often contain text with pictures, then vanilla css styles should be present here, because without them content inside the block will not look very good. If you want to make a functional block that contains its own html blocks, like those that display profile cards, it is better to use other blocks' types (not HTML) . I mean, there is no conflict here, it's just better to choose block's type according to your goals and its content.

                  • Thank You again and thanks for the vanilla++ expertise! I understand that now. In my case for now, I put the macros in a RAW block each, and it works very well!

                    • I often wondered who the clever CSS people behind UNA are. Alex, no doubt. And Anton, too. Alexy is obviously familiar with these advanced details. Good!

                      On the subject of "wide spaces between the lines"... why does the return key here (discussions module) seemingly go to a new paragraph?

                      More specifically, when I have tried to post poetry or song lyrics, when these are cut and pasted, the formatting with regard to vertical spacing or line height is lost. There is a wide space between each line as if a new paragraphs is formed for each line of poetry or a song.

                      Can you think of a fix? Thank YOU!

                      • Hello @banister !

                        Usually, the paragraphs and other similar things depend on the Editor to a bigger degree.

                        Login or Join to comment.