Merge pull request #8700 from overleaf/ii-cm6-source-editor-switch-toggle

[cm6] Prevent hopping to rich text when clicking the source button

GitOrigin-RevId: 2359e157c12026a1c5ceb8b6e40cd45956d75d1d
This commit is contained in:
ilkin-overleaf 2022-07-07 16:50:25 +03:00 committed by Copybot
parent c8b0e81550
commit f2e6cf7a3b

View file

@ -282,6 +282,7 @@
.toggle-switch-input {
position: absolute;
opacity: 0;
pointer-events: none;
}
.toggle-switch-input:checked + .toggle-switch-label {