Skip to content

Commit

Permalink
Fix #1088. Remove unused flex styles
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 a0c1df3 commit 9fbbf66
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 9fbbf66

Please sign in to comment.