mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-31 15:28:19 -04:00
Add rounded corners to QR code.
This commit is contained in:
parent
f1c87b4230
commit
edfcf61325
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue