diff --git a/demo/index.html b/demo/index.html index 0cd7c10..ea05b6d 100644 --- a/demo/index.html +++ b/demo/index.html @@ -42,6 +42,13 @@ width: 200px; margin-right: 20px; } + + #fitIntoContainer { + height: 150px; + width: 100%; + text-align: center; + border: 1px solid black; + } @@ -259,6 +266,39 @@

You can style a paper-dropdown-menu using custom properties

+ +

Fit the dropdown into a container

+ + + + diff --git a/test/paper-dropdown-menu.html b/test/paper-dropdown-menu.html index 4c74e02..e4a7b73 100644 --- a/test/paper-dropdown-menu.html +++ b/test/paper-dropdown-menu.html @@ -21,6 +21,17 @@ + + @@ -58,6 +69,20 @@ + + + +