Skip to content

Commit a096225

Browse files
committed
chore: optimized popup text
1 parent ac3f214 commit a096225

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

webapp/_webapp/src/views/extension-popup/app.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,19 @@
8080
font-size: 12px;
8181
color: #6c757d;
8282
margin-top: 12px;
83+
}
84+
85+
.noselect {
86+
-webkit-touch-callout: none;
87+
/* iOS Safari */
88+
-webkit-user-select: none;
89+
/* Safari */
90+
-khtml-user-select: none;
91+
/* Konqueror HTML */
92+
-moz-user-select: none;
93+
/* Firefox */
94+
-ms-user-select: none;
95+
/* Internet Explorer/Edge */
96+
user-select: none;
97+
/* Non-prefixed version, currently supported by Chrome and Opera */
8398
}

webapp/_webapp/src/views/extension-popup/components/ExtensionPopup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const ExtensionPopup = () => {
4242
"/settings.html";
4343

4444
return (
45-
<div className="popup-shell">
45+
<div className="popup-shell noselect">
4646
<h1 className="title">PaperDebugger</h1>
4747
<h2 className="subtitle">How to use</h2>
4848
<Steps steps={steps} />

0 commit comments

Comments
 (0)