Skip to content

Commit

Permalink
Attempt to make compatible across browsers
Browse files Browse the repository at this point in the history
Attempt to resolve <#754 (comment)>.
  • Loading branch information
EthanThatOneKid committed Jan 18, 2023
1 parent ca275d7 commit 1ce6b92
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/routes/(site)/s23positions/position.svelte
Expand Up @@ -71,6 +71,18 @@
justify-content: space-between;
padding: 1rem;
cursor: pointer;
/**
* [START HACK] Remove the default marker from the <details> element.
* @see https://stackoverflow.com/a/66814239
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#customizing_the_disclosure_widget
*/
list-style: none;
&::marker, /* Latest Chrome, Edge, Firefox */
&::-webkit-details-marker /* Safari */ {
display: none;
}
/* [END HACK] */
}
&__body {
Expand Down

0 comments on commit 1ce6b92

Please sign in to comment.