![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||
Limit width of quote box container if quoted text isn't wide as page
![]() Developer Last Online: Jul 2020 ![]() ![]() ![]()
Well, first of all, I saw this on XDA forums. Here's link to one example on their site, to get idea how it looks like. I also attached image, so you can look here how it looks like. Of course, actual look depends on width of quoted text. If text is really wide, you wouldn't notice any difference.
Quote box is normally wide as screen (i.e. it depends on your postbit type, either new or legacy), not as quoted text. And if quoted text is relatively short, to some it might look unaesthetic. Anyway, if you'd like to limit quote box to width of quoted message, add this to additional.css:
This would produce funny effect, your text would appear on the right of quoted block if there's space. To avoid it if you don't like it (probably you wouldn't) edit template bbcode_quote and add at the very beginning this:
Also, you need to add at the very end of the same template (bbcode_quote) this:
In case your forum is RTL (arabic etc), you need to change float: left; into float: right; and in template you need to clear:right. v1.0 - Initial version v1.0.1 - solved problem with multiple (3 or more) nested quotations v1.0.2 - solved problem with very short text and quote in the same line v1.0.3 - solved problem with PHP and HTML BBcode You can see attached image how it looks. Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
|
Comments |
#2
|
||||||||
|
||||||||
Solved problem with multiple nested quotations like in this image:
When more than two nested quotations is used, with original version text outside quotations also appeared as a part of first quotation. In image Tekst 5 should be outside quote, but it isn't. Strange bug. To avoid this, instead this template change:
Use this template change:
First post is changed accordingly. No members have liked this post.
|
#3
|
||||
|
||||
There's also a problem with very short text and quote in the same line, for example:
Text: [QUOTE]some quote[/QUOTE] To resolve this, add at the very beginning of bbcode_quote template one div to clear it:
First post changed accordingly. No members have liked this post.
|
#4
|
|||
|
|||
Originally Posted by Alan_SP
when i use this mod, my text appear on the right of HTML & PHP BBCODE
please fix No members have liked this post.
|
#5
|
||||
|
||||
Originally Posted by babyv0x
Try using the following selector:![]()
__________________
Former vBulletin.org Staff Member ![]() Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons The following members like this post: Alan_SP
|
#6
|
||||
|
||||
Please confirm if it solves your problem, so I can change first post.
The following members like this post: MarkFL
|
#7
|
||||
|
||||
Originally Posted by MarkFL
Problem solved.![]()
Thanks to MarkFL & Alan_SP |
#8
|
||||
|
||||
Changed to version 1.0.3 - Solved problem with PHP i HTML BBcode.
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 04:37.