Last 12 weeks · 0 commits
5 of 6 standards met
The previous implementation used a hardcoded toolbar height (38px) for viewport calculations. This caused misalignment of the screencast content, especially when device emulation was active, if the actual toolbar height differed. This commit addresses the issue by: 1. Modifying to dynamically calculate the actual height of the Toolbar component. The height is determined on component mount, window resize, and when the toolbar's visibility changes (due to debug mode). 2. Passing this dynamic as a prop to the component. 3. Updating to use this prop in its method for determining the available screen height, instead of the hardcoded value. These changes ensure that the viewport and the screencast image are correctly positioned and sized, resolving the content misalignment and improving the accuracy of device emulation across different window sizes and view configurations. Description Linked Issues Additional context
Repository: antfu/vscode-browse-lite. Description: 🚀 An embedded browser in VS Code Stars: 662, Forks: 48. Primary language: TypeScript. Languages: TypeScript (91.7%), CSS (7.7%), JavaScript (0.4%), HTML (0.3%). License: MIT. Homepage: https://marketplace.visualstudio.com/items?itemName=antfu.browse-lite Topics: browser, devtools, vscode, vscode-extension. Latest release: v0.3.9 (1y ago). Open PRs: 0, open issues: 35. Last activity: 1y ago. Community health: 85%. Top contributors: antfu, arjittw, jackiotyu, phoihos, sonder-joker, tutuxxx, liudonghua123, selang, YangYongAn, iPixelOldC.
TypeScript
Describe the bug Whenever I start any Vue3/Vite project I get the following error messages: Reproduction Try to clone this repository https://github.com/StefanVDWeide/pocketbase-vue/ System Info Used Package Manager npm Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [X] The provided reproduction is a minimal reproducible of the bug.
Clear and concise description of the problem As a developer with ultrawide monitor, I like to have my main browser inside vscode. I would like to type in url/address bar and it directly go and search in google. Suggested solution When I type in the address bar (a non address) it should search for it in google. Alternative _No response_ Additional context _No response_ Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Describe the bug When VSCode uses the window.zoom property to set the zoom level, the content of the webpages opened by plugins becomes blurred and cannot be adjusted to the correct scaling. Reproduction "window.zoomLevel": 0.6 System Info Used Package Manager pnpm Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [X] The provided reproduction is a minimal reproducible of the bug. Contributions [ ] I am willing to submit a PR to fix this issue [ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)