How do I change the position of the sort button in header of the grid in Tapestry 5?
I have column names of different lengths and I break lines on spaces, so the button, which is appended to the end of the column names, always ends up in different height. And that is very ugly:(
The default position is defined in default.css:
img.t-sort-icon {
margin-left: 4px;
}
You can easily change it by providing a more specific CSS rule, eg
th img.t-sort-icon {
//your style here
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.