mirror of
https://github.com/flarum/framework.git
synced 2025-01-31 22:16:32 +08:00
Fix class naming (#2811)
This commit is contained in:
parent
f4acb2c5db
commit
2b7e7f3ff4
|
@ -123,7 +123,7 @@ export default class UserListPage extends AdminPage {
|
|||
|
||||
return (
|
||||
<div
|
||||
class={classList(['UserListPage-grid--rowItem', rowIndex % 2 > 0 && 'UserListPage-grid--shadedRow'])}
|
||||
class={classList(['UserListPage-grid-rowItem', rowIndex % 2 > 0 && 'UserListPage-grid-rowItem--shaded'])}
|
||||
data-user-id={user.id()}
|
||||
data-column-name={col.itemName}
|
||||
aria-colindex={colIndex + 1}
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
background: @control-bg;
|
||||
}
|
||||
|
||||
&--rowItem {
|
||||
&-rowItem {
|
||||
padding: 4px 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -57,13 +57,13 @@
|
|||
padding: 0;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
&--shadedRow {
|
||||
background: darken(@body-bg, 3%);
|
||||
&--shaded {
|
||||
background: darken(@body-bg, 3%);
|
||||
|
||||
& when (@config-dark-mode = true) {
|
||||
background: lighten(@body-bg, 5%);
|
||||
& when (@config-dark-mode = true) {
|
||||
background: lighten(@body-bg, 5%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user