Web: Components: fixed people group selector, fixed checkbox table settings style for drop down portals

This commit is contained in:
Dmitry Sychugov 2021-10-05 18:11:18 +05:00
parent 19c8ee34c0
commit 3f81f68b29
2 changed files with 5 additions and 1 deletions

View File

@ -19,6 +19,10 @@ body {
} }
} }
.table-container_settings-checkbox {
padding: 8px 16px;
}
body { body {
margin: 0; margin: 0;
} }

View File

@ -45,7 +45,7 @@ class DropDown extends React.PureComponent {
if (this.props.open) { if (this.props.open) {
this.props.enableOnClickOutside(); this.props.enableOnClickOutside();
if (this.props.isDefaultMode) { if (this.props.isDefaultMode) {
return this.checkPositionPortal(); return setTimeout(() => this.checkPositionPortal(), 0); // ditry, but need after render for ref
} }
return this.checkPosition(); return this.checkPosition();
} }