Skip to content

CSS: Selectors should not be duplicated #3780

@billchurch

Description

@billchurch

The .x-term selector is defined twice in /css/xterm.css

xterm.js/css/xterm.css

Lines 38 to 43 in 56c7c5c

.xterm {
position: relative;
user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
}

and

xterm.js/css/xterm.css

Lines 127 to 129 in 56c7c5c

.xterm {
cursor: text;
}

cursor: text; should be able to be collapsed under the first definition of .xterm on L38.

Is there a reason this is being done this way?

Metadata

Metadata

Assignees

Labels

type/bugSomething is misbehaving

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions