Profile Cards in Protean, weird spaces
I wonder if anybody has the same issue concerning Profile Cards Design
UNA 13.1.0.B1 - Una hosted Cloud
-
- · Peter
- ·
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.
-
-
·
Alexey
- ·
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.
-
·
Alexey
-
- · Peter
-
·
In reply to Alexey
- ·
Thank You @Alexey ! Will this be corrected in the next UNA update or is it caused by a custom module?
-
- · Peter
- ·
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
-
-
·
Alexey
-
·
In reply to Peter
- ·
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.
-
·
Alexey
-
- · Peter
-
·
In reply to Alexey
- ·
Thank You! That did it.
Good to know, that custom html blocks & macros sometimes conflict with the layout....
-
-
·
Alexey
-
·
In reply to Peter
- ·
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.
-
·
Alexey
-
- · Peter
-
·
In reply to Alexey
- ·
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!
-
- · banister
- ·
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!
-
-
·
LeonidS
-
·
In reply to banister
- ·
Hello @banister !
Usually, the paragraphs and other similar things depend on the Editor to a bigger degree.
-
·
LeonidS