Skip to content

Commit

Permalink
Remove selection styling hacks that seem not relevant and broke links
Browse files Browse the repository at this point in the history
This was introduced here: #448
In order to tweak the styling of embedded regulatory statements in
agenda points. Since it no longer seems possible to select these PM
nodes, this styling never actually gets applied to these. The background
color was however being applied to any selection, not just those in
embedded regulatory statements, so was causing the input for the url of
a link to have an invisible selection.
  • Loading branch information
piemonkey committed Jun 11, 2024
1 parent 104f1ed commit 57658bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .changeset/real-spiders-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'frontend-gelinkt-notuleren': patch
---

Fix bug where selection in link url text was not visible
12 changes: 0 additions & 12 deletions app/styles/_shame.scss
Original file line number Diff line number Diff line change
Expand Up @@ -768,18 +768,6 @@ div[typeof='besluitpublicatie:Documentonderdeel'] {
}
}

.ProseMirror-selectednode {
div[typeof='besluitpublicatie:Documentonderdeel'] {
outline: 0;
box-shadow: 0 0 0 2px var(--au-blue-600);
border-radius: 4px;
overflow: hidden;
}
::selection {
background-color: #0000;
}
}

#ember-basic-dropdown-wormhole {
z-index: 20000;
}

0 comments on commit 57658bd

Please sign in to comment.