Merge pull request 'break long text in info modal' (#23) from master into 98
Reviewed-on: #23
This commit is contained in:
@@ -16416,12 +16416,21 @@ body.scroller-active #gchat-reopen-bubble {
|
|||||||
color: #ccc;
|
color: #ccc;
|
||||||
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
|
word-break: break-word;
|
||||||
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info-table td a {
|
.info-table td a {
|
||||||
color: var(--accent, #9f0);
|
color: var(--accent, #9f0);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
word-break: break-all;
|
||||||
|
overflow-wrap: anywhere;
|
||||||
|
}
|
||||||
|
|
||||||
|
#info-modal .modal-content .info-table td a {
|
||||||
|
word-break: break-all;
|
||||||
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info-table td a:hover {
|
.info-table td a:hover {
|
||||||
|
|||||||
@@ -296,7 +296,7 @@
|
|||||||
@if(item.src.short)
|
@if(item.src.short)
|
||||||
<tr>
|
<tr>
|
||||||
<th>{{ t('info_modal.source') || 'Source' }}</th>
|
<th>{{ t('info_modal.source') || 'Source' }}</th>
|
||||||
<td><a href="{{ item.src.long }}" target="_blank">{{ item.src.short }}</a></td>
|
<td><a href="{{ item.src.long }}" target="_blank" style="word-break: break-all;">{{ item.src.short }}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
@endif
|
@endif
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -238,7 +238,7 @@
|
|||||||
@if(item.src.short)
|
@if(item.src.short)
|
||||||
<tr>
|
<tr>
|
||||||
<th>{{ t('info_modal.source') || 'Source' }}</th>
|
<th>{{ t('info_modal.source') || 'Source' }}</th>
|
||||||
<td><a href="{{ item.src.long }}" target="_blank">{{ item.src.short }}</a></td>
|
<td><a href="{{ item.src.long }}" target="_blank" style="word-break: break-all;">{{ item.src.short }}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
@endif
|
@endif
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user