diff --git a/static/css/playground-embed.css b/static/css/playground-embed.css index 8ca369e..834f6e5 100644 --- a/static/css/playground-embed.css +++ b/static/css/playground-embed.css @@ -18,14 +18,18 @@ padding: 5px; } +.header li { + margin-left: 10px; +} + .header .gravatar { width: 26px; border-radius: 13px; } .header .logo { - height: 23px; - margin-top: -4px; + height: 21px; + margin-top: -6px; } .share-panel { @@ -82,5 +86,5 @@ } .btn { - padding: 3px 5px; + padding: 1px 5px; } \ No newline at end of file diff --git a/static/js/playground.js b/static/js/playground.js index 504ecb5..38f2ac0 100644 --- a/static/js/playground.js +++ b/static/js/playground.js @@ -29,8 +29,6 @@ var playground = { _initShare: function () { $("#dialogShare").dialog({ "modal": true, - "height": 200, - "width": 560, "title": config.label.share, "hideFooter": true }); @@ -308,9 +306,15 @@ var playground = { return; } - var html = '
' + url + "
"; - html += '' + data.shortURL + '
'; - html += '
'; + var html = '
' + url + "
"; + html += '' + + data.shortURL + '
'; + html += '
'; html += '
'; $("#dialogShare").html(html);