Skip to content

Commit 0202721

Browse files
authored
Merge pull request #509 from asolove/asolove/rename-modal-ui
Improve styling of Rename modal and modal cancel buttons.
2 parents 1701bc6 + 9a3a53a commit 0202721

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/web/css/editor.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2379,7 +2379,7 @@ table.pyret-row {
23792379
.modal .close{
23802380
border: 1px solid #ccc;
23812381
background: white;
2382-
color: #999;
2382+
color: var(--run-bg);
23832383
margin-right: 16px;
23842384
}
23852385

src/web/js/beforeBlocks.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,7 @@ $(function() {
795795
title: "Rename this file",
796796
style: "text",
797797
narrow: true,
798+
submitText: "Rename",
798799
options: [
799800
{
800801
message: "The new name for the file:",

src/web/js/beforePyret.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,7 @@ $(function() {
793793
title: "Rename this file",
794794
style: "text",
795795
narrow: true,
796+
submitText: "Rename",
796797
options: [
797798
{
798799
message: "The new name for the file:",

0 commit comments

Comments
 (0)