Skip to content

Commit e0f4930

Browse files
committed
fix: break too long method return with CSS break-work
1 parent 3b7a49d commit e0f4930

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/Resources/themes/default/class.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
<div class="col-md-2 type">
204204
{% if method.static %}static&nbsp;{% endif %}{{ hint_link(method.hint) }}
205205
</div>
206-
<div class="col-md-8 type">
206+
<div class="col-md-8">
207207
<a href="#method_{{ method.name|raw }}">{{ method.name|raw }}</a>{{ block('method_parameters_signature') }}
208208
{% if not method.shortdesc %}
209209
<p class="no-description">{% trans 'No description' %}</p>

src/Resources/themes/default/css/doctum.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,10 @@ a abbr {
336336
font-size: 90%;
337337
}
338338

339+
.type {
340+
overflow-wrap: break-word;
341+
}
342+
339343
/* Namespaces page */
340344

341345
.namespaces {

src/Resources/themes/default/namespace.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<div class="col-md-2 type">
6262
{{ hint_link(function.hint) }}
6363
</div>
64-
<div class="col-md-8 type">
64+
<div class="col-md-8">
6565
<a href="#function_{{ function.name|raw }}">{{ function.name|raw }}</a>{{ block('function_parameters_signature') }}
6666
{% if not function.shortdesc %}
6767
<p class="no-description">{% trans 'No description' %}</p>

0 commit comments

Comments
 (0)