Skip to content

Commit

Permalink
feat: adjust popover and context menu title styles and tooltip padding (
Browse files Browse the repository at this point in the history
#1283)

* feat: adjust popover and context menu title styles and tooltip padding

Signed-off-by: Viraj Sanghvi <virajs@amazon.com>

* Update changelog

Signed-off-by: Viraj Sanghvi <virajs@amazon.com>

---------

Signed-off-by: Viraj Sanghvi <virajs@amazon.com>
  • Loading branch information
virajsanghvi authored Jul 10, 2024
1 parent 1d73920 commit ce84822
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
- [Next Theme] Set base font size to 18px ([#1221](https://github.com/opensearch-project/oui/pull/1221))
- [Next Theme] Revert `font-weight` of OuiButton to normal from semi-bold ([#1222](https://github.com/opensearch-project/oui/pull/1222))
- Convert shorthand palette colors to full 6-char hex ([#1262](https://github.com/opensearch-project/oui/pull/1262))
- Adjust popover and context menu title styles and tooltip padding ([#1283](https://github.com/opensearch-project/oui/pull/1283))

### 🐛 Bug Fixes

Expand Down
2 changes: 1 addition & 1 deletion src/components/context_menu/_context_menu_panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
}

&--small {
@include ouiPopoverTitle('s');
@include ouiPopoverTitle;
padding: ($ouiSizeS * .75) $ouiSizeS;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/tool_tip/_tool_tip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/

.ouiToolTip {
@include ouiToolTipStyle;
@include ouiToolTipStyle('s');
@include ouiToolTipAnimation('top');
position: absolute;
opacity: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/global_styling/mixins/_popover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}

padding: $ouiSizeM;
text-transform: uppercase;
text-transform: none;
border-bottom: $ouiBorderThin;
}

Expand Down
2 changes: 1 addition & 1 deletion src/themes/oui-next/global_styling/mixins/_popover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}

padding: $ouiSizeM;
text-transform: uppercase;
text-transform: none;
border-bottom: $ouiBorderThin;
}

Expand Down

0 comments on commit ce84822

Please sign in to comment.