Stacker logo
Stacker
Create
Roadmap
Feedback
Stacker V4 (Classic)
564
Changelog
Category
Branding
Voters
J
Jake Russell
J
Jeff Miller
l
labra bout
A
Aleix
L
Lee Pettijohn
L
Linda Brooks
R
Ron LaSalvia
A
Aristeidis Zagklis
J
John Reid
J
Jonathan Gaunt
and 14 more...
Powered by Canny
More CSS Options and better documentation
P
Paul Hoppe
March 26, 2021
A
Ambroise Dhenain
It would be great to embed more metadata in the page.
For instance, the <body> element could embed metadata such as:
  • current user role (would allow custom css per role)
  • current lang (will be useful when managing more than the EN lang)
Also, targeting some elements (modals, buttons) is a bit hard at the time.
/* Hide "Add new" button on Enterprise programs list view */
.stk-page-applicationform_list a.stk-button[href='/applicationform/new'] {
display: none;
}
This could be much simpler if a class was added to the button, because it's hard to differentiate "Create new" buttons from our own buttons.
/* Make modal dialog take full space */
section[role="dialog"] {
max-width: initial;
}
/* Make modal dialog select inputs 3 times bigger, so we can see the text of the selected element correctly */
section[role="dialog"] .display-flex [class*='-control'] {
min-width: 500px; /* 150px by default*/
}
Targeting modals is also a bit difficult, targeting the "<select>" elements in modals was quite tricky.
The above is high-level CSS, it requires advanced skills, it could be made much easier for beginners.
·
March 29, 2021
·
Reply
Powered by Canny