Skip to content

Commit 117cd18

Browse files
authored
Merge pull request #11 from dotswan/develop
Feat: add border styling for code editor textarea wrapper
2 parents 79c3804 + 76c70b9 commit 117cd18

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

resources/css/index.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,9 @@
3838
width: auto;
3939
overflow: hidden;
4040
border-radius: 5px;
41+
}
42+
43+
.code-editor-textarea-wrapper{
44+
border-color: rgba(var(--gray-500), var(--tw-border-opacity, 1));
45+
border-width: 1px;
4146
}

resources/dist/css/filament-code-editor.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/views/fields/code-editor.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
'{{ $getLightModeTheme() }}',
2929
3030
)">
31-
<div wire:ignore class="w-full border" x-ref="codeEditor"
31+
<div wire:ignore class="w-full code-editor-textarea-wrapper" x-ref="codeEditor"
3232
style="height:{{ $getMinHeight() }}px;overflow: hidden; {{ $getCustomStyle() }}">
3333
</div>
3434
</div>

0 commit comments

Comments
 (0)