mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-30 16:01:14 -04:00
fix(ui): Issue with Exercise Accessibility on Mobile (#57430)
This commit is contained in:
@@ -815,7 +815,7 @@ const Editor = (props: EditorProps): JSX.Element => {
|
||||
): HTMLDivElement {
|
||||
const scrollGutterNode = document.createElement('div');
|
||||
const lineGutterWidth = editor.getLayoutInfo().contentLeft;
|
||||
scrollGutterNode.style.width = `${lineGutterWidth}px`;
|
||||
scrollGutterNode.style.width = `${lineGutterWidth * 1.35}px`;
|
||||
scrollGutterNode.style.left = `-${lineGutterWidth}px`;
|
||||
scrollGutterNode.style.top = '0';
|
||||
scrollGutterNode.style.height = '10000px';
|
||||
|
||||
Reference in New Issue
Block a user