Files
element-plus/packages/theme-chalk
Wayne d2fbff70eb fix(components): [table] row has rowspan when hover it only has background on the first row of this rowspan (#15529)
* fix(components): table

table row has rowspan when hover it only has background on the first row of this colspan

* fix(components): table

fixed when hover on a rowspan > 1 cell give the whole rows background

* fix(components): [table]

fixed hover on merged cell give the background of the whole rows

* Update events-helper.ts

import addClass removeClass

* Update events-helper.ts

fixed rowspan > 2 and data not enough

* fix(components): [table]

add test case for hover on rowspan > 2

* fix(components): [table]

use getTestData is better

* Update table.test.ts

use getTestData instead

* Update table.test.ts

change templete label prop

* fix(components): [table]

drop comments and clear hoveredCell array after use

* fix(components): [table]

when there is fixed row, hover on rowSpan > 1 should not clear the class

---------

Co-authored-by: dwaynewdong <dwaynewdong@tencent.com>
2024-02-04 21:41:05 +08:00
..

element-theme-chalk

element component chalk theme.

Installation

npm i element-plus

Usage

Use Sass import

@use 'element-plus/lib/theme-chalk/index.scss';

Or Use vite/webpack

import 'element-plus/lib/theme-chalk/index.css'

Or

<link
  rel="stylesheet"
  href="https://unpkg.com/element-plus/lib/theme-chalk/index.css"
/>

Import on demand

import 'element-plus/lib/theme-chalk/input.css'
import 'element-plus/lib/theme-chalk/select.css'

// ...