Skip to content

Commit d303364

Browse files
committed
docs: standardize padding and margin for insert-container
1 parent 06b004e commit d303364

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎adev/src/content/examples/animations/src/app/native-css/insert.css‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@
55
.insert-container {
66
border: 1px solid #dddddd;
77
margin-top: 1em;
8-
padding: 20px 20px 0px 20px;
8+
padding: 20px;
99
font-weight: bold;
1010
font-size: 20px;
1111
}
1212

13+
.insert-container p {
14+
margin: 0;
15+
}
16+
1317
.enter-animation {
1418
animation: slide-fade 1s;
1519
}

‎adev/src/content/examples/animations/src/app/native-css/remove.css‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.insert-container {
66
border: 1px solid #dddddd;
77
margin-top: 1em;
8-
padding: 20px 20px 0px 20px;
8+
padding: 20px;
99
font-weight: bold;
1010
font-size: 20px;
1111
opacity: 1;
@@ -16,6 +16,10 @@
1616
}
1717
}
1818

19+
.insert-container p {
20+
margin: 0;
21+
}
22+
1923
.deleting {
2024
opacity: 0;
2125
transform: translateY(20px);

0 commit comments

Comments
 (0)