mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-10 07:54:00 +02:00
Add rounded corners to QR code.
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
background-color: @col-widget-back;
|
||||
border: @border-widget;
|
||||
border-radius: 8px;
|
||||
padding: 8px;
|
||||
|
||||
canvas {
|
||||
|
@@ -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
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user