diff --git a/package-lock.json b/package-lock.json index 8a8febf..fba41a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1510,9 +1510,9 @@ } }, "node_modules/vite": { - "version": "5.2.8", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.8.tgz", - "integrity": "sha512-OyZR+c1CE8yeHw5V5t59aXsUPPVTHMDjEZz8MgguLL/Q7NblxhZUlTu9xSPqlsUO/y+X7dlU05jdhvyycD55DA==", + "version": "5.2.9", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.9.tgz", + "integrity": "sha512-uOQWfuZBlc6Y3W/DTuQ1Sr+oIXWvqljLvS881SVmAj00d5RdgShLcuXWxseWPd4HXwiYBFW/vXHfKFeqj9uQnw==", "dev": true, "dependencies": { "esbuild": "^0.20.1", diff --git a/popup/script.jsx b/popup/script.jsx index eef12c9..5bd3d9d 100644 --- a/popup/script.jsx +++ b/popup/script.jsx @@ -94,7 +94,7 @@ const Item = ({ extension, onClick }) => { className="extension-image" /> ) : null} - {name} + {name} ); }; diff --git a/popup/style.css b/popup/style.css index b21d98f..f2e0d50 100644 --- a/popup/style.css +++ b/popup/style.css @@ -88,3 +88,9 @@ body { width: 14px; height: 14px; } + +.extension-name { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} \ No newline at end of file diff --git a/public/manifest.json b/public/manifest.json index adfae24..60e905f 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -3,7 +3,7 @@ "name": "Extension Switch", "short_name": "Extension Switch", "description": "Provides a switch to toggle statuses of installed extensions.", - "version": "2.0.0", + "version": "2.0.1", "icons": { "19": "images/icon19.png", "32": "images/icon32.png", @@ -29,4 +29,4 @@ "default_title": "Click to switch extensions", "default_popup": "popup.html" } -} +} \ No newline at end of file