Header in all-nodes view shorter on small screens#18
Header in all-nodes view shorter on small screens#18rubo77 wants to merge 1 commit intoffnord:devfrom
Conversation
|
I don't really like this patch. It adds a |
|
sure, the config.json was a mistake. I thought about how to solve the issue to shorten the table headers on small screens with just CSS, which I would prefer, because it takes action when you resize the screen. If we would like to use the first letter of each column without hardcoding, We would have to use javascript and a kid of resize-detection to change it on the fly when resizing the screen. Would that be a better solution? Or I just got another Idea: |
|
Only showing the first letter isn't that hard, rotating the titles is harder I think: https://jsfiddle.net/o0dz6ufu/ |
|
Which resolutions and screensizes are affected by this anyway? |
|
Te labels don't fit on 320px with phone screens jplitzas solution is working nice (with I also already solved rotating here. #19 |
This will change the label on top of the list for all nodes to just the first Letter "U" for "Uptime" and "C" for "Clients"