1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #596 from Wunax/fix-input-user-avatar

Fix input field user avatar in a wrong position

(cherry picked from commit a9c1425ddd)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
This commit is contained in:
dkanada 2019-11-27 14:12:53 +09:00 committed by Joshua Boniface
parent 7a3eb3ffad
commit 54dee197fd

View file

@ -2,8 +2,8 @@
<div class="padded-left padded-right padded-bottom-page"> <div class="padded-left padded-right padded-bottom-page">
<div class="readOnlyContent" style="margin: 0 auto; padding: 0 1em;"> <div class="readOnlyContent" style="margin: 0 auto; padding: 0 1em;">
<div style="position:relative;display:inline-block;max-width:200px;"> <div style="position:relative;display:inline-block;max-width:200px;">
<img id="image" width="200px" />
<input id="uploadImage" type="file" accept="image/*" style="position:absolute;right:0;width:100%;height:100%;opacity:0;" /> <input id="uploadImage" type="file" accept="image/*" style="position:absolute;right:0;width:100%;height:100%;opacity:0;" />
<div id="image" style="width:200px;height:200px;background-repeat:no-repeat;background-position:center;border-radius:100%;background-size:cover;"></div>
</div> </div>
<div style="vertical-align:top;margin:1em 2em;display:inline-block;"> <div style="vertical-align:top;margin:1em 2em;display:inline-block;">
<h2 class="username" style="margin:0;font-size:xx-large;"></h2> <h2 class="username" style="margin:0;font-size:xx-large;"></h2>
@ -68,4 +68,4 @@
</div> </div>
</form> </form>
</div> </div>
</div> </div>