Closed webard closed 8 months ago
Yep, the Modal component used has a default size of xl
. The size can be passed in the props, e.g. CreatedTokenModal.vue could be modified as follows:
<Modal :show="show" size="2xl">
Good point. What about copying token after clicking? Did you look on this?
It's not my code, I have just been playing around with it. The copy when clicking works for me.
looks like they changed some CSS on me (again) between version 4.24.2 => 4.32.16, i'll need to look into a fix
I created a fork of your repository: https://github.com/webard/sanctum-tokens because I needed it in my project. It fixes:
Copying feature works only in https, this should be noted in README.md, I thought it was an error, but it is limitation of browsers.
thanks @webard
With the copy issue, It's more a security issue than a browser issue, but no harm getting a note added there... eventually lol
Yeah, I forgot that ClipboardAPI is available only on secured domain 😅. Just in case that other people wille report similar problems it is worth make note in readme.
:tada: This issue has been resolved in version 2.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Hello,
token in modal looks like this:
and after clicking, there is info that I can copy by click, but nothing happens after clicking.
I have newest version of Laravel and Nova, without any special Laravel Nova plugins. Bug occurs on every browser.