From 12c067154c31e4b3ccc22754b5135edd3208dee4 Mon Sep 17 00:00:00 2001 From: Piotr Plenik Date: Thu, 2 Jun 2016 10:33:39 +0200 Subject: [PATCH] fix format wrapping --- Resources/public/css/screen.css | 4 ++++ Resources/views/method.html.twig | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Resources/public/css/screen.css b/Resources/public/css/screen.css index aa805b1..767f325 100644 --- a/Resources/public/css/screen.css +++ b/Resources/public/css/screen.css @@ -145,6 +145,10 @@ table tbody tr td { line-height: 1.3em; } +table tbody tr td.format { + word-break: break-word; +} + #header { background-color: #89BF04; padding: 1%; diff --git a/Resources/views/method.html.twig b/Resources/views/method.html.twig index 0c75d6d..81b7427 100644 --- a/Resources/views/method.html.twig +++ b/Resources/views/method.html.twig @@ -130,7 +130,7 @@ {{ name }} {{ infos.dataType is defined ? infos.dataType : '' }} {{ infos.required ? 'true' : 'false' }} - {{ infos.format }} + {{ infos.format }} {{ infos.description is defined ? infos.description|trans : '' }} {% endif %}