XF 2.2 Notice warning message cut short div.blockmessage

ActorMike

Well-known member
How can I show all of our custom phrase for a warning message? It gets cut off after so many characters, but there is plenty of room on the screen to display all the text.
As you can see it's related to the div.blockmessage.
rejected-notice.jpg
 
This is the class that limit the content :
Less:
.blockMessage--limited {
    max-height: 100px;
    max-height: 25vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

You can adjust this contrait by adding this in your extra.less template i guess. Set the height as you wish.
Less:
.blockMessage--limited {
    max-height: 400px;
    max-height: 100vh;
}
 
This is the class that limit the content :
Less:
.blockMessage--limited {
    max-height: 100px;
    max-height: 25vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

You can adjust this contrait by adding this in your extra.less template i guess. Set the height as you wish.
Less:
.blockMessage--limited {
    max-height: 400px;
    max-height: 100vh;
}
I noticed that earlier and edited the core_blockmessage.less directly and it had no effect. I reverted that file and Just tried adding your code to the extra.less and it did not change for some reason.

rejected-2.webp
 
I can't test my code because i'm not able to get this kind of notice on my forum.
But you can test this :
Less:
.blockMessage.blockMessage--limited {
    max-height: 400px;
    max-height: 100vh;
}

OR

.blockMessage .blockMessage--limited {
    max-height: 400px;
    max-height: 100vh;
}
 
@Xon is this related to your Signup abuse detection and blocking 1.12.3 add-on? This happens when a registration is rejected for a VPN using the extension we purchased.

@Brogan the video permissions work now for embedding.
 
Back
Top Bottom