Skip to content

Commit

Permalink
feat: add shadow border to the code editor and to the game screen (#10)
Browse files Browse the repository at this point in the history
## How does this PR impact the user?

### Now

<img width="1608" alt="image"
src="https://github.com/move-fast-and-break-things/aibyss/assets/4187729/4129b538-9c8b-4a76-baa7-06ed8d8d1564">

### Before

<img width="1608" alt="image"
src="https://github.com/move-fast-and-break-things/aibyss/assets/4187729/7e1dd3cf-31df-4ca5-8a76-db65ee7fd21d">

## Description

Ditto.

## Limitations

N/A

## Checklist

- [x] my PR is focused and contains one wholistic change
- [x] I have added screenshots or screen recordings to show the changes
  • Loading branch information
yurijmikhalevich authored Jul 7, 2024
1 parent 27fbe1d commit 7b2e6d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/CodeEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function onSubmit(event: Event) {
<MonacoEditor
v-model="state.code"
lang="javascript"
class="flex-grow mb-4"
class="flex-grow mb-4 shadow"
/>
<div class="flex justify-end">
<button
Expand Down
5 changes: 4 additions & 1 deletion components/GameScreen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ watch(gameState, (newState) => {
class="h-full w-full"
data-testid="game-screen"
>
<canvas ref="canvas" />
<canvas
ref="canvas"
class="shadow m-4 mt-0"
/>
</div>
</template>

0 comments on commit 7b2e6d6

Please sign in to comment.