Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/styles/datatype.css.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ const css = String.raw;
// Prettier ignore only to keep code indented from level 0.
// prettier-ignore
export default css`
var {
var[data-type] {
Copy link

Copilot AI Aug 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CSS selector change from var to var[data-type] may create inconsistency if the position: relative property is needed for all var elements, not just those with data-type attributes. Consider whether this positioning change could affect the layout of var elements without data-type attributes.

Suggested change
var[data-type] {
var {

Copilot uses AI. Check for mistakes.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't needed, the position: relative is only to help position the position: absolute ::before and ::after pseudoelements below.

position: relative;
cursor: pointer;
}

var[data-type]::before,
Expand Down