mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(drag-drop): fix cross-browser inconsistencies in demos (#13364)
Fixes the text in the drag&drop demos not being centered horizontally on some browsers, as well as the handle being too tall on IE11.
This commit is contained in:
committed by
vivian-hu
parent
4a0b09a106
commit
342c7495f0
@@ -7,6 +7,7 @@
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
background: #fff;
|
||||
border-radius: 4px;
|
||||
margin-right: 25px;
|
||||
|
||||
@@ -30,4 +30,6 @@
|
||||
right: 10px;
|
||||
color: #ccc;
|
||||
cursor: move;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
background: #fff;
|
||||
border-radius: 4px;
|
||||
transition: box-shadow 200ms cubic-bezier(0, 0, 0.2, 1);
|
||||
|
||||
Reference in New Issue
Block a user