Use shorthand "inset" property (#10825)
This commit is contained in:
parent
5d0b5131f2
commit
b3fd9377d6
10 changed files with 12 additions and 48 deletions
|
@ -26,10 +26,7 @@ limitations under the License.
|
|||
|
||||
/* position to place the hover bg over the entire thing */
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
inset: 0;
|
||||
|
||||
pointer-events: none; /* let the pointer fall through the underlying thing */
|
||||
|
||||
|
@ -45,10 +42,7 @@ limitations under the License.
|
|||
.mx_AvatarSetting_hoverBg {
|
||||
/* absolute position to lazily fill the entire container */
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
inset: 0;
|
||||
|
||||
opacity: 0.5;
|
||||
background-color: $quinary-content;
|
||||
|
@ -98,10 +92,7 @@ limitations under the License.
|
|||
mask-position: center;
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
inset: 0;
|
||||
}
|
||||
|
||||
.mx_AvatarSetting_uploadButton {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue