mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-08-11 11:40:22 +00:00
Added original padding without breaking the animation
This commit is contained in:
@@ -13,7 +13,9 @@ const ExpandRow = ({ children, expanded, onClosed, ...rest }) => (
|
||||
onExited={ onClosed }
|
||||
>
|
||||
<div>
|
||||
{ children }
|
||||
<div className="row-expansion-style">
|
||||
{ children }
|
||||
</div>
|
||||
</div>
|
||||
</CSSTransition>
|
||||
</td>
|
||||
|
||||
@@ -158,7 +158,10 @@
|
||||
}
|
||||
}
|
||||
.reset-expansion-style{
|
||||
padding: 0 8px 0 8px;
|
||||
padding: 0;
|
||||
}
|
||||
.row-expansion-style{
|
||||
padding: 8px;
|
||||
}
|
||||
.row-expand-slide-appear{
|
||||
max-height: 0;
|
||||
|
||||
Reference in New Issue
Block a user