diff --git a/ide/static/ide/css/ide.css b/ide/static/ide/css/ide.css index d4335042..bf585c21 100644 --- a/ide/static/ide/css/ide.css +++ b/ide/static/ide/css/ide.css @@ -294,6 +294,12 @@ table.build-results tr.pending .build-state { color: #3a87ad; } +#last-compilation-qr-code img { + height: 164px; + width: 164px; + float: right; + margin-top: -10px; +} /* Old stuff. */ @@ -314,12 +320,6 @@ table.build-results tr.pending .build-state { max-width: 350px; } -#last-compilation-qr-code img { - height: 148px; - width: 148px; - margin-top: -20px; -} - .CodeMirror-dialog input { -webkit-border-radius: 0 !important; -moz-border-radius: 0 !important; diff --git a/ide/templates/ide/project.html b/ide/templates/ide/project.html index 80f84feb..00c43333 100644 --- a/ide/templates/ide/project.html +++ b/ide/templates/ide/project.html @@ -185,8 +185,7 @@

Last build

-


- Scan to download watchface

+

April 17, 2013, 11:50 a.m.

diff --git a/qr/views.py b/qr/views.py index d0ab09f7..a8149469 100644 --- a/qr/views.py +++ b/qr/views.py @@ -7,7 +7,7 @@ def render(request): value = request.GET.get('v', '') size = int(request.GET.get('s', 4)) - border = int(request.GET.get('b', 0)) + border = int(request.GET.get('b', 2)) qr = qrcode.QRCode(box_size=size, border=border, error_correction=qrcode.constants.ERROR_CORRECT_L) qr.add_data(value) img = qr.make_image()