diff --git a/components/parental_control/extension/content/ui/popup.css b/components/parental_control/extension/content/ui/popup.css index b55cabf9e8a6..9024d73f2cb9 100644 --- a/components/parental_control/extension/content/ui/popup.css +++ b/components/parental_control/extension/content/ui/popup.css @@ -193,12 +193,12 @@ button { cursor: pointer; } -.tooltip { +.checkboxTooltip { position: relative; display: inline-block; } -.tooltip .tooltiptext { +.checkboxTooltip .tooltiptext { width: 195px; height: 56px; min-height: fit-content; @@ -213,14 +213,14 @@ button { padding: 8px; position: absolute; z-index: 1; - top: 115%; /* Position the tooltip above the element */ + top: 115%; left: 35%; margin-left: -50px; opacity: 0; transition: opacity 0.3s; } -.tooltip:hover .tooltiptext { +.checkboxTooltip:hover .tooltiptext { visibility: visible; opacity: 1; } \ No newline at end of file diff --git a/components/parental_control/extension/content/ui/popup.html b/components/parental_control/extension/content/ui/popup.html index 52d6af7454d3..72a86d0c8b0d 100644 --- a/components/parental_control/extension/content/ui/popup.html +++ b/components/parental_control/extension/content/ui/popup.html @@ -37,12 +37,12 @@ Reset password