JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 27.09.2019, 20:54
Demongornot Demongornot is offline
JD Beta
 
Join Date: Sep 2019
Location: Universe, Local group, Milky Way, Solar System, Earth, France
Posts: 50
Default Forum CODE block issue

Just a little report, the CODE block, that is :
Code:
This one !
When viewing the post who contain it from a thread work fine, but when viewing a single post, the post itself spread across the whole screen, but the CODE block keep its same size, meaning that code with long lines (longer than the CODE block width) will appear on multiples lines.
Example from a real script :

Code:
if (code) {
code
                        } else if (subtitleData[counterD][2] == userLanguage.replace(/#/g, '') && !isAnyVariant && (isSpecial || isAutoGenerated) && (subtitleData[counterD][4] || subtitleData[counterD][5])) {
code
}
Note that the tablation came from the code after multiple conditional and loop and isn't modified or added just to make it appear longer.


Here is the link to itself to show what I mean :
https://board.jdownloader.org/showpo...73&postcount=1

Last edited by Demongornot; 27.09.2019 at 21:01.
Reply With Quote
  #2  
Old 27.09.2019, 21:17
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 66,134
Default

It's hardcoded width. Tested with auto but that looks really ugly for large blocks. Not experienced enough in CSS so I will ask my colleague on monday
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 20:20.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.