mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 02:00:25 +08:00
fix(ripple): fix ripple style #211
This commit is contained in:
parent
0ec1a62e59
commit
22016291e4
@ -72,9 +72,9 @@ function rippler({
|
||||
const rippleContainer = document.createElement('div');
|
||||
|
||||
// Styles for ripple
|
||||
ripple.className = 'ripple';
|
||||
|
||||
Object.assign(ripple.style ?? {}, {
|
||||
className: 'ripple',
|
||||
marginTop: '0px',
|
||||
marginLeft: '0px',
|
||||
width: '1px',
|
||||
@ -88,8 +88,8 @@ function rippler({
|
||||
});
|
||||
|
||||
// Styles for rippleContainer
|
||||
rippleContainer.className = 'ripple-container';
|
||||
Object.assign(rippleContainer.style ?? {}, {
|
||||
className: 'ripple-container',
|
||||
position: 'absolute',
|
||||
left: `${0 - border}px`,
|
||||
top: `${0 - border}px`,
|
||||
|
Loading…
Reference in New Issue
Block a user