From: Marcel Werk Date: Tue, 6 Aug 2013 12:25:43 +0000 (+0200) Subject: Fixed word-wrap issues X-Git-Tag: 2.0.0_Beta_7~61 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f2dadeed07d4c1fbe63547e1976572dd77029aab;p=GitHub%2FWoltLab%2FWCF.git Fixed word-wrap issues --- diff --git a/wcfsetup/install/files/lib/system/template/plugin/WordwrapModifierTemplatePlugin.class.php b/wcfsetup/install/files/lib/system/template/plugin/WordwrapModifierTemplatePlugin.class.php deleted file mode 100644 index 9c446937c4..0000000000 --- a/wcfsetup/install/files/lib/system/template/plugin/WordwrapModifierTemplatePlugin.class.php +++ /dev/null @@ -1,35 +0,0 @@ - - * @package com.woltlab.wcf - * @subpackage system.template.plugin - * @category Community Framework - */ -class WordwrapModifierTemplatePlugin implements IModifierTemplatePlugin { - /** - * @see wcf\system\template\IModifierTemplatePlugin::execute() - */ - public function execute($tagArgs, TemplateEngine $tplObj) { - // default values - $width = 50; - $break = ' '; - - // get values - $string = $tagArgs[0]; - if (isset($tagArgs[1])) $width = intval($tagArgs[1]); - if (isset($tagArgs[2])) $break = $tagArgs[2]; - - return StringUtil::wordwrap($string, $width, $break); - } -} diff --git a/wcfsetup/install/files/style/global.less b/wcfsetup/install/files/style/global.less index cf34976991..38c21ba00a 100644 --- a/wcfsetup/install/files/style/global.less +++ b/wcfsetup/install/files/style/global.less @@ -5,6 +5,7 @@ body { font-family: @wcfBaseFontFamily; font-size: @wcfBaseFontSize; line-height: @wcfBaseLineHeight; + word-break: break-all; } small {