diff options
author | Tomi Virkki <virkki@vaadin.com> | 2016-01-13 09:50:34 +0200 |
---|---|---|
committer | Tomi Virkki <virkki@vaadin.com> | 2016-01-13 09:50:34 +0200 |
commit | 1d55e957f8ef3edc7d4f7c97f2fa9ae472bd8b55 (patch) | |
tree | 273d7c88f66beb838955bd14353404d469849a53 /demo | |
parent | d8b0a67cbfe0bce683ee4005797e0bd84ba7a54d (diff) | |
download | vaadin-core-1d55e957f8ef3edc7d4f7c97f2fa9ae472bd8b55.tar.gz vaadin-core-1d55e957f8ef3edc7d4f7c97f2fa9ae472bd8b55.zip |
Fixed user image positioning in polymer example
Diffstat (limited to 'demo')
-rw-r--r-- | demo/polymer.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/demo/polymer.html b/demo/polymer.html index 0294114..41e1e2c 100644 --- a/demo/polymer.html +++ b/demo/polymer.html @@ -12,6 +12,26 @@ layout: page <meta name="viewport" content="width=device-width, initial-scale=1" /> <script src="../../webcomponentsjs/webcomponents-lite.js"></script> <link rel="import" href="common.html"> + <style> + .demo-wrapper > div { + position: relative; + } + + .user-image { + width: auto; + height: auto; + margin: 0; + border: none; + } + .user-image img { + position: absolute; + bottom: 0px; + right: 0px; + width: auto; + max-width: 33%; + max-height: 33%; + } + </style> </head> <body unresolved> |