OpenNewsLabs / autoEdit_2

Fast text based video editing, node Electron Os X desktop app, with Backbone front end.
https://opennewslabs.github.io/autoEdit_2/
MIT License
420 stars 56 forks source link

Long strings of text can extend past borders in file info dropdown #7

Closed jhdouglas closed 7 years ago

jhdouglas commented 7 years ago

On the transcript show page users can access info about the specific file. Currently, longer strings of text (e.g. file path names) can extend outside the designated borders.

1) Open autoEdit 2 app 2) Add file to have access to transcript 3) Open transcript show page 4) Observe info button under video 5) Click info to reveal dropdown 6) Note text can extend past borders

screenshot 2016-12-09 12 26 28
pietrop commented 7 years ago

temporary solved this by adding style="word-wrap:break-word;" to lib/app/templates/transcription_show.html.ejs to wrap the words in the well that contains the metadata info.

<div class="collapse" id="collapseMetadata">
 <div class="well"  style="word-wrap:break-word;">
...

However it doesn't look particularly good

wrod_wrapped

So I am hope for suggestions on how to improve this

But for now it can be considered fixed for version 1.0.6.