Skip to content

Commit efe9086

Browse files
Offset the padding so button doesn't shift
1 parent 3f8dd87 commit efe9086

File tree

1 file changed

+6
-1
lines changed
  • 1-exercise-solutions/lesson-04

1 file changed

+6
-1
lines changed

1-exercise-solutions/lesson-04/4e.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,17 @@
3434
border-radius: 30px;
3535
cursor: pointer;
3636
transition: background-color 0.15s,
37-
border-width 0.15s;
37+
border-width 0.15s,
38+
padding 0.15s;
3839
}
3940

4041
.save-button:hover {
4142
background-color: rgb(226, 240, 254);
4243
border-width: 2px;
44+
padding-top: 11px;
45+
padding-bottom: 11px;
46+
padding-left: 23px;
47+
padding-right: 23px;
4348
}
4449
</style>
4550

0 commit comments

Comments
 (0)