From 2fd7410ebff9f99e0fe494f300e6c9b38d017ec2 Mon Sep 17 00:00:00 2001 From: uncenter <47499684+uncenter@users.noreply.github.com> Date: Thu, 27 Jun 2024 15:58:24 -0400 Subject: [PATCH] fix(npm): profile dropdown menu in header (#1027) --- styles/npm/catppuccin.user.css | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/styles/npm/catppuccin.user.css b/styles/npm/catppuccin.user.css index bfa7c885..6971949b 100644 --- a/styles/npm/catppuccin.user.css +++ b/styles/npm/catppuccin.user.css @@ -2,7 +2,7 @@ @name npm Catppuccin @namespace github.com/catppuccin/userstyles/styles/npm @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/npm -@version 0.0.5 +@version 0.0.6 @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/npm/catppuccin.user.css @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Anpm @description Soothing pastel theme for npm @@ -234,18 +234,20 @@ #signup { border-color: @surface0; } - nav > button[aria-label="Profile menu"] { - /* Dropdown arrow */ - img[alt="avatar"] { - border-color: @text; + nav:has(> button[aria-label="Profile menu"]) { + > button { + /* Dropdown arrow */ + img[alt="avatar"] { + border-color: @text; - + div > svg { - fill: @text; + + div > svg { + fill: @text; + } } } /* Popup */ - + span > div { + > div > div { border-color: @surface0; /* Popup triangle */