Skip to content
Snippets Groups Projects
Unverified Commit 81db2adb authored by Mahatthana (Kelvin) Nomsawadi's avatar Mahatthana (Kelvin) Nomsawadi Committed by GitHub
Browse files

Migrate .clearfix (#41509)

parent d2905f89
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ export default class DatabaseList extends Component {
return (
<div className={CS.wrapper} data-testid="database-list">
<section className={cx(AdminS.PageHeader, CS.px2, "clearfix")}>
<section className={cx(AdminS.PageHeader, CS.px2, CS.clearfix)}>
{isAdmin && (
<Link
to="/admin/databases/create"
......
......@@ -92,7 +92,7 @@ const MetadataTableColumn = ({
value={field.displayName()}
onBlurChange={handleChangeName}
/>
<div className="clearfix">
<div className={CS.clearfix}>
<div className={cx(CS.flex, CS.flexAuto)}>
<div className={cx(CS.pl1, CS.flexAuto)}>
<FieldVisibilityPicker
......
......@@ -10,7 +10,7 @@ export default class AdminHeader extends Component {
<div
className={cx(
"MetadataEditor-header",
"clearfix",
CS.clearfix,
CS.relative,
CS.flexNoShrink,
)}
......
......@@ -10,20 +10,12 @@
* 2. The use of `table` rather than `block` is only necessary if using
* `:before` to contain the top-margins of child elements.
*/
:global(.clearfix::before),
:global(.clearfix::after) {
.clearfix::before,
.clearfix::after {
content: " "; /* 1 */
display: table; /* 2 */
}
:global(.clearfix::after) {
.clearfix::after {
clear: both;
}
/**
* For IE 6/7 only
* Include this rule to trigger hasLayout and contain floats.
*/
:global(.clearfix) {
*zoom: 1;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment