Commit ee57ed10 by Johannes Schill

dashfolders: Add min-width to align icons in permissions list and some margin…

dashfolders: Add min-width to align icons in permissions list and some margin between icon and text #10275
parent d74a98fe
......@@ -13,7 +13,7 @@ export default class DisabledPermissionListItem extends Component<IProps, any> {
return (
<tr className="gf-form-disabled">
<td style={{ width: '100%' }}>
<i className={item.icon} />
<i className={`fa--permissions-list ${item.icon}`} />
<span dangerouslySetInnerHTML={{ __html: item.nameHtml }} />
</td>
<td />
......
......@@ -20,7 +20,7 @@ export default observer(({ item, removeItem, permissionChanged, itemIndex, folde
return (
<tr className={setClassNameHelper(item.inherited)}>
<td style={{ width: '100%' }}>
<i className={item.icon} />
<i className={`fa--permissions-list ${item.icon}`} />
<span dangerouslySetInnerHTML={{ __html: item.nameHtml }} />
</td>
<td>
......
......@@ -198,3 +198,8 @@
background-image: url('../img/icons_dark_theme/icon_question.svg');
}
}
.fa--permissions-list {
min-width: 20px;
padding-right: 5px;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment