microsoft / language-server-protocol

Defines a common protocol for language servers.
https://microsoft.github.io/language-server-protocol/
Creative Commons Attribution 4.0 International
10.91k stars 763 forks source link

fix: use visibility instead of display #1927

Closed rzhao271 closed 2 months ago

rzhao271 commented 2 months ago

TIL that I can use the visibility keyword to keep the spacing of an element while hiding it.

With this PR, users who don't see the Manage Cookies link won't see the MS icon unnecessarily shifted to the left.