To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 60c64a40 authored by Hermann's avatar Hermann
Browse files

add tableHeight to all tables, such that they get scrollable

parent b4f76225
......@@ -88,12 +88,13 @@ class ParticipantsTable {
view({ attrs: { title } }) {
return m(Card, {
style: { height: '300px', 'margin-bottom': '10px' },
style: { height: '400px', 'margin-bottom': '10px' },
content: m('div', [
m(Toolbar, { compact: true }, [
m(ToolbarTitle, { text: title }),
]),
m(TableView, {
tableHeight: '275px',
controller: this.ctrl,
keys: signupConfig.tableKeys,
tileContent: this.getItemData,
......
......@@ -111,6 +111,7 @@ export default class UserView extends ItemView {
m(ToolbarTitle, { text: 'Event Signups' }),
]),
m(TableView, {
tableHeight: '175px',
controller: this.eventsignups,
keys: ['event.title_de'],
titles: ['event'],
......@@ -131,6 +132,7 @@ export default class UserView extends ItemView {
}),
]),
m(TableView, {
tableHeight: '175px',
controller: this.groupmemberships,
keys: ['group.name', 'expiry'],
titles: ['groupname', 'expiry'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment