Skip to content

Instantly share code, notes, and snippets.

View YodasMyDad's full-sized avatar
🤙
OSS

Lee YodasMyDad

🤙
OSS
View GitHub Profile
@YodasMyDad
YodasMyDad / SimpleTailwindFileSmidgeError.css
Created January 19, 2022 17:09
File causing an issue
*, ::before, ::after {
--tw-border-opacity: 1;
border-color: rgb(229 231 235 / var(--tw-border-opacity));
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000
}
.tw-grid {
@YodasMyDad
YodasMyDad / HidePropertiesIfChildren.cs
Created January 18, 2022 11:08
Hides properties on a node if it has children
public class HidePropertiesIfChildren : INotificationHandler<SendingContentNotification>
{
private readonly IServiceProvider _container;
public HidePropertiesIfChildren(IServiceProvider container)
{
_container = container;
}
public void Handle(SendingContentNotification notification)