Skip to content

Commit

Permalink
Fix condensed interface breaking UI
Browse files Browse the repository at this point in the history
Due to recent google class name changes

Also refactor the code to rely less on class names
  • Loading branch information
maxpatiiuk committed Jun 28, 2023
1 parent abb4508 commit 1705d33
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/src/css/condense-interface.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,19 @@
/* "Search for people" input box */
.ZtL5hd,
/* "Google Apps" button */
.gb_0c
#gbwa
),
/* "Calendar" heading */
body.condense-interface header [role="heading"],
body.condense-interface[data-viewfamily='EVENT'] .h8Aqhb {
@apply hidden;
}

/* Remove padding right where "Google Apps" button was */
body.condense-interface div[data-ogsr-up] {
@apply !p-0
}

/* Free up space in the header */
body.condense-interface header div[style]:first-child {
@apply !min-w-[unset] !pr-[unset];
Expand Down

0 comments on commit 1705d33

Please sign in to comment.