mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 16:04:21 +00:00
refactor(agents): remove CSS rules nothing reads (#5055)
Three CSS rules in the agents feature can never apply, so they only add to the files: - `ReferenceChip.module.css` `.selected`: no `styles.selected` (or `chipStyles.selected`) anywhere in `src/`. - `SkillsPage.module.css` `.link` and `.link:hover`: `SkillsPage.tsx` never reads `styles.link`. - `Session.module.css`: the first `.questionChoices` block (`display`, `flex-direction`, `gap`) is overridden property-for-property by the second `.questionChoices` block later in the file (same selector, same specificity, no media query), so the computed style is unchanged. 22 lines removed, no behaviour change. Co-authored-by: Mr0Bread <55754540+Mr0Bread@users.noreply.github.com>
This commit is contained in:
@@ -75,10 +75,6 @@
|
||||
.missing .name {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
/* Selected together with the text around it in the composer. */
|
||||
.selected {
|
||||
background: var(--bg-editor-selection);
|
||||
}
|
||||
/* A `/command` or skill. */
|
||||
.command {
|
||||
display: inline;
|
||||
|
||||
@@ -1636,11 +1636,6 @@
|
||||
border-radius: var(--radius-row);
|
||||
}
|
||||
/* Each option is a card of its own: separate targets, not one list with hairlines. */
|
||||
.questionChoices {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-1-5);
|
||||
}
|
||||
.question .questionChoices > * {
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-row);
|
||||
|
||||
Reference in New Issue
Block a user