Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions providers/class-two-factor-totp.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,13 +391,6 @@ public function user_two_factor_options( $user ) {
</p>
</li>
</ol>
<style>
#two-factor-qr-code {
/* The size of the image will change based on the length of the URL inside it. */
min-width: 205px;
min-height: 205px;
}
</style>
<script>
(function(){
var qr_generator = function() {
Expand Down
5 changes: 5 additions & 0 deletions user-edit.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@
padding: 0.1rem 0.25rem;
margin: 0 0.15rem;
}

#two-factor-qr-code {
min-width: 205px;
min-height: 205px;
}