Skip to content

Commit ad1ba76

Browse files
committed
docs: set playground max-height and update copy timeout
1 parent 48b4ee8 commit ad1ba76

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/.vitepress/theme/components/PlayGround.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function copyURL() {
3535
copied.value = true;
3636
setTimeout(() => {
3737
copied.value = false;
38-
}, 100);
38+
}, 750);
3939
} catch (error) {
4040
console.error(error);
4141
}
@@ -120,6 +120,7 @@ textarea {
120120
overflow-wrap: break-word;
121121
border-radius: 8px;
122122
min-height: 250px;
123+
max-height: 500px;
123124
}
124125
125126
.copy {

0 commit comments

Comments
 (0)