Skip to content
This repository was archived by the owner on Sep 5, 2019. It is now read-only.

Commit f830d28

Browse files
committed
Update
1 parent 6e7495d commit f830d28

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/css/style.dropdown.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ body {
1818
*/
1919
.dropdown {
2020
position: relative;
21-
width: 110px;
2221
}
2322

2423
.dropdown p { margin: 0; }
@@ -39,6 +38,7 @@ body {
3938
margin-top: 5px;
4039
position: absolute;
4140
display: none;
41+
right: 0;
4242
top: 100%;
4343
}
4444

src/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link rel="stylesheet" href="css/style.dropdown.css">
1212
</head>
1313
<body>
14-
<div class="wrapping" style="padding: 25px;">
14+
<div class="wrapping" style="padding: 25px; width: 200px;">
1515

1616
<!-- dropdown menu -->
1717
<div class="dropdown">
@@ -36,4 +36,4 @@
3636
<script src="js/jquery.min.js"></script>
3737
<script src="js/jquery.dropdown.menu.js"></script>
3838
</body>
39-
</html>
39+
</html>

0 commit comments

Comments
 (0)