Use shorthand "inset" property (#10825)
This commit is contained in:
@@ -6,10 +6,7 @@
|
||||
|
||||
.mx_CompatibilityPage_box {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
inset: 0;
|
||||
margin: auto;
|
||||
width: 500px;
|
||||
height: 300px;
|
||||
|
||||
@@ -21,10 +21,7 @@ limitations under the License.
|
||||
padding: 0 0 0 16px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
inset: 0;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user