Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:bug: Re: #205 - Fixes tooltip for config menu

Alicia Sykesab47690a0140
diff --git a/src/styles/global-styles.scss b/src/styles/global-styles.scss
index 0303bf0f..954af7da 100644
--- a/src/styles/global-styles.scss
+++ b/src/styles/global-styles.scss
@@ -88,4 +88,32 @@ html {
}
}
}
+}
+
+/* Overriding styles for tooltip component */
+.tooltip {
+ background: var(--description-tooltip-background);
+ border: 1px solid var(--description-tooltip-color);
+ border-radius: var(--curve-factor-small);
+ color: var(--description-tooltip-color);
+ padding: 0.2rem 0.5rem;
+ max-width: 250px;
+ z-index: 5;
+}
+.tooltip-arrow {
+ border-width: 5px 5px 0 5px;
+ border-color: var(--description-tooltip-color);
+ border-left-color: transparent!important;
+ border-right-color: transparent!important;
+ border-bottom-color: transparent!important;
+ bottom: -11px;
+ left: calc(50% - 5px);
+ margin-top: 0;
+ margin-bottom: 0;
+ width: 0;
+ height: 0;
+ border-style: solid;
+ position: absolute;
+ margin: 5px;
+ z-index: 3;
}
\ No newline at end of file