Skip to content

Commit 42ae8fb

Browse files
committed
Fix #1088. Remove unused flex styles (#1090)
Removes permission editor old style properties that may cause issues on some browsers.
1 parent 877ec0b commit 42ae8fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web/client/components/security/PermissionEditor.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ const PermissionEditor = React.createClass({
147147
}
148148
return this.localGroups.map((group, index) => {
149149
return (
150-
<tr style={{display: "flex"}} key={index} className={index / 2 === 0 ? "even" : "odd"}>
151-
<td style={{flex: 1}}>{group.name}</td>
150+
<tr key={index} className={index / 2 === 0 ? "even" : "odd"}>
151+
<td>{group.name}</td>
152152
<td style={{width: "150px"}}>
153153
<Select
154154
ref={"permChoice" + index}
@@ -205,8 +205,8 @@ const PermissionEditor = React.createClass({
205205
</tr>
206206

207207

208-
<tr style={{display: "flex"}} key="addRowKey">
209-
<td style={{flex: 1}}>
208+
<tr key="addRowKey">
209+
<td>
210210
<Select
211211
noResultsText={LocaleUtils.getMessageById(this.context.messages, "map.permissions.noResult")}
212212
ref="newGroup"

0 commit comments

Comments
 (0)