Skip to content
Open
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
2 changes: 1 addition & 1 deletion src/popup/modules/UserInterface.js
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ async function createContextMenu() {
export function lateInit() {
// start listening for resize events very late, so that it does not
// conflict with restoring the popup size
resizeMutationObserver.observe(qrCodeText, {
resizeMutationObserver.observe(document.body, {
attributes: true,
attributeFilter: ["style"]
});
Expand Down
12 changes: 11 additions & 1 deletion src/popup/qrcode.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ html, body {
max-height: 100%;
height: 100%;
}

body {
direction: rtl;
resize: both;
}

body > * {
direction: __MSG_@@bidi_dir__;
}

/* on (small) mobile displays */
@media (max-width: 700px) {
body {
Expand Down Expand Up @@ -103,7 +113,7 @@ html, body {
min-height: 2em;
max-height: 100%;

resize: both;
resize: none;

/* Firefox needs a fixed height, so it can scale the popup large enough when QR code is displayed */
height: 6em;
Expand Down
Loading