1 Commits

Author SHA1 Message Date
c5cb756811 Update CSS class selectors to new component names 2025-08-07 00:20:35 +01:00
2 changed files with 4 additions and 4 deletions

View File

@@ -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();

View File

@@ -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;
}
}