This message was deleted.
# questions
b
This message was deleted.
g
I don't have code to make tables off screen, but I do have some CSS that makes content fill the width of the screen. This is especially useful when you have larger monitors, or 4K monitors. Note that this may not work 1:1 with your application because class names may differ.
Copy code
/*set max width of detail view and other elements for wide screens*/
@media (min-width: 1900px){
  /*note this targeting is necessary to prevent screwing up forms*/
  div[style*="width: 1000px;"]:not(.block) {
    width: 2025px !important;
  }
  
  /*set max width of list view*/
  div[style*="max-width: 1000px;"]{
    max-width: 2000px !important;
  }
  
  /*set width of navigation buttons at top of screen*/
  .css-ij0jxm, .css-1b2s37s {
    max-width: 2025px;
  }
  
  /*set max content width of inbox view*/
  .css-1ybrejs, .css-1nz8at6 {
    max-width:2000px;
  }
  
  /*set max and min content width of listing detail views*/
  .css-4h0rs3 {
      grid-template-columns: minmax(0px, 1fr) minmax(0px, 5fr);
  }
  
  /*set font size of 4-field hightlights */
  .stk-text-highlightedSmallFieldLabel {
    font-size: 0.875rem;
  }
  .stk-text-highlightedSmallFieldText {
    font-size: 1.5rem;
  }
  .css-kp1bpk {
    padding: 1rem;
  }
  .css-16t56nm {
    margin-top: 5px;
  }
  
  /* make cards a 4-column layout */
  .stk-cards {
    grid-template-columns: repeat(4,calc(25% - 8px));
  }
}
👍 1
👀 1
❤️ 1
s
Wow, I had no idea you could change the number of columns in a card layout with CSS! 🤯 It's beautiful
g
It's a trick taught to me by a Stacker Expert we worked with in the past. On another note, it would be really cool if you could set this somewhere in the view settings instead of having to edit CSS.