Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
Wrap content in Grok patterns table. Fixes #1109
Browse files Browse the repository at this point in the history
  • Loading branch information
Edmundo Alvarez committed Feb 9, 2015
1 parent eabab37 commit 880348f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions app/assets/stylesheets/graylog2.less
Expand Up @@ -2490,4 +2490,16 @@ form.extractor-form .control-group label {

.grok-filter-form label {
margin-right: 5px;
}

.grok-patterns-table th.name {
min-width: 120px;
}

.grok-patterns-table th.actions {
min-width: 140px;
}

.grok-patterns-table td {
word-break: break-all;
}
6 changes: 3 additions & 3 deletions javascript/src/components/grok-patterns/GrokPatterns.jsx
Expand Up @@ -48,12 +48,12 @@ var GrokPatterns = React.createClass({
}, this);

return (
<table className="table table-striped">
<table className="table table-striped grok-patterns-table">
<thead>
<tr>
<th>Name</th>
<th className="name">Name</th>
<th>Pattern</th>
<th style={{width: 180}}>Actions</th>
<th className="actions">Actions</th>
</tr>
</thead>
<tbody>
Expand Down

0 comments on commit 880348f

Please sign in to comment.