Add rounded corners to QR code.

This commit is contained in:
Lars Jung 2014-09-21 00:36:28 +02:00
parent f1c87b4230
commit edfcf61325
2 changed files with 2 additions and 0 deletions

View file

@ -8,6 +8,7 @@
background-color: @col-widget-back;
border: @border-widget;
border-radius: 8px;
padding: 8px;
canvas {

View file

@ -16,6 +16,7 @@ modulejs.define('ext/qrcode', ['_', '$', 'modernizr', 'core/settings', 'core/eve
height: settings.size,
color: '#333',
bgColor: '#fff',
radius: 0.5,
text: window.location.protocol + '//' + window.location.host + item.absHref
});
}