mirror of
https://github.com/blueprint-community/extension-pteromonaco.git
synced 2026-02-19 03:41:54 +00:00
Compare commits
1 Commits
3-bug-ctrl
...
2-i-got-th
| Author | SHA1 | Date | |
|---|---|---|---|
| c5cb756811 |
@@ -360,7 +360,7 @@ const Editor = () => {
|
||||
// Add keyboard shortcut for Ctrl+S (Windows/Linux) and Cmd+S (macOS)
|
||||
useEffect(() => {
|
||||
const handleKeyDown = (event: KeyboardEvent) => {
|
||||
if ((event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 's') {
|
||||
if ((event.ctrlKey || event.metaKey) && event.key === 's') {
|
||||
event.preventDefault();
|
||||
if (action === 'edit') {
|
||||
save();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
.igexuH, .eDlcZT {
|
||||
.FileEditContainer___StyledDiv3-sc-48rzpu-7, .FileEditContainer___StyledDiv4-sc-48rzpu-8 {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
min-height: 16rem;
|
||||
}
|
||||
|
||||
.cDkCmT {
|
||||
.Button__ButtonStyle-sc-1qu1gou-0 {
|
||||
flex: 1 1 0%;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.cDkCmT {
|
||||
.Button__ButtonStyle-sc-1qu1gou-0 {
|
||||
flex: none;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user