fix: button alignment on older safari (#1227)
* Fix button alignment on older safari * Add @maciejmatu to contributors
This commit is contained in:
committed by
Caleb
parent
57b392f404
commit
df2d5c2432
@ -7,10 +7,15 @@
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-bottom: 12px;
|
||||
|
||||
& .nc-icon {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
.nc-editor-toggleActive {
|
||||
|
@ -101,7 +101,7 @@
|
||||
|
||||
& .nc-mediaLibrary-close {
|
||||
@apply(--dropShadowMiddle);
|
||||
display: flex;
|
||||
|
||||
position: absolute;
|
||||
margin-right: -40px;
|
||||
left: -40px;
|
||||
@ -111,13 +111,14 @@
|
||||
border-radius: 50%;
|
||||
background-color: white;
|
||||
padding: 0;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
& .nc-icon {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
left: 1px;
|
||||
top: 1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -147,8 +148,10 @@
|
||||
|
||||
& .nc-icon {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 6px;
|
||||
z-index: 2;
|
||||
transform: translate(0, -50%);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user