Skip to content

Commit

Permalink
Fix #1088. Remove unused flex styles (#1090)
Browse files Browse the repository at this point in the history
Removes permission editor old style properties that may cause
issues on some browsers.
  • Loading branch information
offtherailz committed Oct 6, 2016
1 parent 877ec0b commit 42ae8fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/client/components/security/PermissionEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ const PermissionEditor = React.createClass({
}
return this.localGroups.map((group, index) => {
return (
<tr style={{display: "flex"}} key={index} className={index / 2 === 0 ? "even" : "odd"}>
<td style={{flex: 1}}>{group.name}</td>
<tr key={index} className={index / 2 === 0 ? "even" : "odd"}>
<td>{group.name}</td>
<td style={{width: "150px"}}>
<Select
ref={"permChoice" + index}
Expand Down Expand Up @@ -205,8 +205,8 @@ const PermissionEditor = React.createClass({
</tr>


<tr style={{display: "flex"}} key="addRowKey">
<td style={{flex: 1}}>
<tr key="addRowKey">
<td>
<Select
noResultsText={LocaleUtils.getMessageById(this.context.messages, "map.permissions.noResult")}
ref="newGroup"
Expand Down

0 comments on commit 42ae8fb

Please sign in to comment.