Skip to content

Workday layout improvements by chunkyks

Details

Authorchunkyks

LicenseNo License

Categorywd5.myworkday.com

Created

Updated

Size3.3 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

The default Workday interface is incredibly space-wasteful, making it difficult to use tables such as timesheet on small screens or with lots of lines.

Notes

  • Removes a lot of blank space
  • Fixed broken scrollbars on tables
  • Removes more blank space
  • Shrink text
  • Delete a lot of huge cruft that pushes stuff what I actually care about below the fold

Source code

/* ==UserStyle==
@name         Workday layout improvements
@version      20241021.18.54
@namespace    https://userstyles.world/user/chunkyks
@description  The default Workday interface is incredibly space-wasteful, making it difficult to use tables such as timesheet on small screens or with lots of lines.
@author       chunkyks
@license      No License
==/UserStyle== */

@-moz-document url-prefix("https://wd5.myworkday.com") {
/* Note that any of these styles that include an weird name in the
    middle [eg "css-q9mpbt-banner"] are likely to stop working at some point,
    and they'll revert to default behaviour */

/* Re-order right column so that box containing time button is at top */
.css-orm06f-rightColumn {
    display: flex;
    flex-flow: column-reverse;
}

/* Get rid of huge banner on home page, pushing everything down */
.css-q9pmbt-bannerContainer {
    display: none;
}

/* Ditto huge "Greetings, <Person>" */
.css-1rv4g42-greetingContainer {
    display: none;
}

/* Space around cells in header row */
.WMIG {
    padding: 1px 3px;
    width: 0% !important;
}

/* Hide Huge "Time Totals" box */
.WG3N {
    display: none;
}

/* Other "Time Totals" box */ 
.WJ3N {
    display: none;
}

/* More time totals */
.WK3N {
    display: none;
}

.WJIG {
    /*width: fit-content; */
    max-width: 100px !important;
}

/* Shrink whitespace above table */
.WG1F {
    margin-top: 0px !important;
}

/* Jettison scrollbar */
.WLLG {    
    /* Ensures the content is not clipped and does not scroll */
    overflow: visible;
    display: inline;
    overflow-y: unset;
}

/* Jettison backup scrollbar */
.WHJP {
    /* Ensures the content is not clipped and does not scroll */
    overflow: visible;
    display: inline;
    overflow-y: unset;
    
}

/* Jettison backup backup scrollbar */
.WOJP {
    /* Ensures the content is not clipped and does not scroll */
    overflow: visible;
    display: inline;
    overflow-y: unset;
    
}

/* Remove unnecssary whitespace around save/close/etc buttons */
.WNSI {
    margin-top: 4px;
    margin-bottom: 4px;
}

/* Shrink blue bar */
.WHEK {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

/* Shrink PPT essay text */
.css-w0yg2g-Text {
    font-size: 10px;
    line-height: 13px;
}

/* Remove "..." from PPT essay cell */
[id^="ra-pill"] {
    display: none;
}

/* Set cells to a smaller width by default*/
.WJIG {
    padding-left: 2px;
    padding-right: 2px;
    width: fit-content;
}

/* Remove duplicate hourly totals that are also at bottom */
.WOBK {
    display: none !important;
    padding: 0px;
}

/* Shrink whitespace around buttons at bottom */
.WNSI {
    /* Save/Close/next/prev weeks */
    margin-top: 3px !important;
    margin-bottom: 3px !important;
}
/* Shrink whitespace around buttons at bottom */
.WJRI {
    /* ... button */
    margin-top: 3px !important;
    margin-bottom: 3px !important;
    max-height: 60px;
}
/* Set a max height on the whole bar at bottom */
.WOQI {
    max-height: 50px;
}

/* Remove padding in most cells */
.WJIG {
    width: 0% !important;
    max-width: 150px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 2px;
    padding-right: 2px;
}

/* Remove padding around timesheet */
.WFUO {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 3px;
    padding-right: 3px;
}

}

Reviews

No reviews yet.