Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
having scroll bar on extra long word
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Huang committed Jun 20, 2012
1 parent 9c5dbc2 commit 5023990
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
Expand Up @@ -9,7 +9,13 @@
<ui:with field="messages" type="org.zanata.webtrans.client.resources.NavigationMessages" />
<ui:with field="images" type="org.zanata.webtrans.client.editor.table.TableResources" />

<g:VerticalPanel width="100%">
<ui:style>
.targetContentsCell {
table-layout: fixed;
}
</ui:style>

<g:VerticalPanel width="100%" addStyleNames="{style.targetContentsCell}">
<g:cell verticalAlignment="ALIGN_TOP">
<g:Grid ui:field="editorGrid" />
</g:cell>
Expand Down
Expand Up @@ -287,27 +287,31 @@ td.TableEditorCell-Target {
word-break: break-all;
}

/*@-moz-document {
/* below is a hack to allow firefox display extra long word properly */
@-moz-document {
{}
table.TableEditorCell-Source-Table {
table.TableEditor {
table-layout : fixed;
}
table.TableEditorCell-Source-Table {
overflow-x:auto;
display: block;
width: 100%;
}
table.TableEditorCell-Target-Table {
overflow-x: auto;
display: block;
}
div.TransUnitDetail-Wrapper {
width: 450px;
}
}*/
width: 450px;
}
}

.TableEditorCell-Source-Table {
width: 100%;
}

.TableEditorCell-Target-Table {
width: 100%;
}

.TransUnitDetail-Wrapper {
Expand Down

0 comments on commit 5023990

Please sign in to comment.