Use shorthand "inset" property (#10825)

This commit is contained in:
Suguru Hirahara
2023-05-09 10:02:12 +00:00
committed by GitHub
parent 5d0b5131f2
commit b3fd9377d6
10 changed files with 12 additions and 48 deletions

View File

@@ -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;

View File

@@ -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;
}