fleet/frontend/components/SQLEditor
Scott Gress 744a723247
Fix ace editor cursor issues on chromeos (#33478)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #30691

# Details

This PR fixes an issue where the cursor in the SQL editor is positioned
incorrectly on ChromeOS and Windows.

Also fixed an incorrect style declaration that was preventing keywords
from being bolded.

Before:
<img width="364" height="103" alt="image"
src="https://github.com/user-attachments/assets/19d9632b-b57b-4a0f-b019-99a7c145da8d"
/>

After:
<img width="363" height="108" alt="image"
src="https://github.com/user-attachments/assets/cbe9aefe-1920-41e5-9212-eb0f8cb51e4b"
/>


# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

## Testing

- [X] QA'd all new/changed functionality manually

Tested on Chrome, Firefox, Safari and Microsoft Edge (where appropriate)
on MacOS, Linux and Windows.

Note that the specified padding does not render on ChromeOS or Windows
(it doesn't in production right now either).
2025-09-25 12:21:49 -05:00
..
_styles.scss Fix ace editor cursor issues on chromeos (#33478) 2025-09-25 12:21:49 -05:00
index.ts UI - Update name (#25873) 2025-01-31 10:37:56 -08:00
mode.ts UI - Update name (#25873) 2025-01-31 10:37:56 -08:00
SQLEditor.stories.tsx UI - Update name (#25873) 2025-01-31 10:37:56 -08:00
SQLEditor.tsx Fix SQL query editor cursor alignment issue (#28878) 2025-05-20 16:56:52 -05:00
theme.css Fix ace editor cursor issues on chromeos (#33478) 2025-09-25 12:21:49 -05:00
theme.ts UI - Update name (#25873) 2025-01-31 10:37:56 -08:00