mirror of
https://github.com/flarum/framework.git
synced 2025-03-03 04:57:29 +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 (
|
return (
|
||||||
<div
|
<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-user-id={user.id()}
|
||||||
data-column-name={col.itemName}
|
data-column-name={col.itemName}
|
||||||
aria-colindex={colIndex + 1}
|
aria-colindex={colIndex + 1}
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
background: @control-bg;
|
background: @control-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--rowItem {
|
&-rowItem {
|
||||||
padding: 4px 16px;
|
padding: 4px 16px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -57,13 +57,13 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
&--shadedRow {
|
&--shaded {
|
||||||
background: darken(@body-bg, 3%);
|
background: darken(@body-bg, 3%);
|
||||||
|
|
||||||
& when (@config-dark-mode = true) {
|
& when (@config-dark-mode = true) {
|
||||||
background: lighten(@body-bg, 5%);
|
background: lighten(@body-bg, 5%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user