Skip to content

Commit

Permalink
Merge pull request #11 from dotswan/develop
Browse files Browse the repository at this point in the history
Feat: add border styling for code editor textarea wrapper
  • Loading branch information
mohaphez authored Feb 16, 2025
2 parents 79c3804 + 76c70b9 commit 117cd18
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions resources/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,9 @@
width: auto;
overflow: hidden;
border-radius: 5px;
}

.code-editor-textarea-wrapper{
border-color: rgba(var(--gray-500), var(--tw-border-opacity, 1));
border-width: 1px;
}
2 changes: 1 addition & 1 deletion resources/dist/css/filament-code-editor.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion resources/views/fields/code-editor.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
'{{ $getLightModeTheme() }}',
)">
<div wire:ignore class="w-full border" x-ref="codeEditor"
<div wire:ignore class="w-full code-editor-textarea-wrapper" x-ref="codeEditor"
style="height:{{ $getMinHeight() }}px;overflow: hidden; {{ $getCustomStyle() }}">
</div>
</div>
Expand Down

0 comments on commit 117cd18

Please sign in to comment.