Skip to content

Microsoft Teams Hide Garbage by Jee

Screenshot of Microsoft Teams Hide Garbage

Details

AuthorJee

LicenseNo License

Categoryteams.microsoft.com

Created

Updated

Size887 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Hide unwanted items in MS Teams and some QOL improvements

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Microsoft Teams Hide Garbage
@version      20240627.14.07
@namespace    https://userstyles.world/user/Jee
@description  Hide unwanted items in MS Teams and some QOL improvements
@author       Jee
@license      No License
==/UserStyle== */
@-moz-document domain("teams.microsoft.com"),
domain("mcas.ms") {
	/* CSS created for personal use and selectors are based on purely guess and are not guaranteed to select properly. */
	/* Hide desktop notif popup */
	div[data-tid = "banner-notification-id"] {
		display: none
	}

	/* Hide cross organization policy warning */
	div[class *= "ui-alert"]:has(span[data-tid = "external-chat-banner-text"]) {
		display: none
	}

	/* Remove max width for chat messages */
	div[id = "chat-pane-list"] {
		max-width: none;
		padding-left: 20px;
		padding-right: 20px;
	}

	div[id *= "message-body-"] {
		max-width: none
	}
}

Reviews

No reviews yet.