Skip to content

Commit

Permalink
修正 menu 檔到 share link
Browse files Browse the repository at this point in the history
  • Loading branch information
joe committed Aug 25, 2023
1 parent fc6988e commit 67140aa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions js/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -1121,24 +1121,30 @@ function findGroupAndIndex(promptId) {
const styles = `
.custom-menu {
position: fixed;
top:10px;
top:65px;
right:0;
height:95vh;
height:calc(90vh - 65px);
overflow-y: hidden;
overflow-x: hidden;
box-sizing: content-box;
width:155px;
padding:5px;
background:rgb(236,236,241);
border-radius:10px;
margin-right:5px;
margin-right:8px;
display:flex;
flex-direction:column;
transition: transform 0.3s ease-in-out;
transform: translateX(0);
}
@media only screen and (max-width: 980px) {
.custom-menu {
top:100px;
height:calc(85vh - 120px);
}
}
.dark .custom-menu {
background:gray;
}
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "__MSG_extension_name__",
"description": "__MSG_extension_description__",
"author": "Joe",
"version": "1.0.5",
"version": "1.0.6",
"default_locale": "en",
"icons": {
"16": "images/icon/16.png",
Expand Down

0 comments on commit 67140aa

Please sign in to comment.