Skip to content

Commit a5c698f

Browse files
authored
Merge pull request #148 from rebeccaalpert/header
fix(ChatbotHeader): Adjust spacing
2 parents 8198a92 + 53e95dc commit a5c698f

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

packages/module/src/ChatbotHeader/ChatbotHeader.scss

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
position: relative;
77
background-color: var(--pf-t--chatbot--background);
88
justify-content: space-between;
9+
padding: var(--pf-t--global--spacer--xs) var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--xs)
10+
var(--pf-t--global--spacer--sm);
911

1012
// Title -or- Brand
1113
.pf-chatbot__title {
@@ -32,8 +34,8 @@
3234
// ============================================================================
3335
.pf-chatbot--fullscreen {
3436
.pf-chatbot__header {
35-
padding-top: var(--pf-t--global--spacer--sm);
36-
padding-bottom: var(--pf-t--global--spacer--sm);
37+
padding: var(--pf-t--global--spacer--lg) var(--pf-t--global--spacer--4xl) var(--pf-t--global--spacer--lg)
38+
var(--pf-t--global--spacer--4xl);
3739
background-color: var(--pf-t--global--background--color--primary--default);
3840
}
3941
.pf-chatbot__header__divider {
@@ -46,8 +48,8 @@
4648
// ============================================================================
4749
.pf-chatbot--docked {
4850
.pf-chatbot__header {
49-
padding-top: var(--pf-t--global--spacer--sm);
50-
padding-bottom: var(--pf-t--global--spacer--sm);
51+
padding: var(--pf-t--global--spacer--md) var(--pf-t--global--spacer--lg) var(--pf-t--global--spacer--md)
52+
var(--pf-t--global--spacer--lg);
5153
background-color: var(--pf-t--chatbot--background);
5254
}
5355
.pf-chatbot__header__divider {
@@ -65,14 +67,16 @@
6567
border-radius: var(--pf-t--global--border--radius--pill);
6668
padding: var(--pf-t--global--spacer--md);
6769

68-
.pf-v6-c-button__icon {
70+
.pf-v6-c-button__icon,
71+
.pf-v6-c-icon__content {
6972
color: var(--pf-t--chatbot--icon--fill);
7073
}
7174

7275
// Interactive states
7376
&:hover,
7477
&:focus {
75-
.pf-v6-c-button__icon {
78+
.pf-v6-c-button__icon,
79+
.pf-v6-c-icon__content {
7680
color: var(--pf-t--chatbot--icon--fill--hover);
7781
}
7882
}

packages/module/src/ChatbotHeader/ChatbotHeaderOptionsDropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const ChatbotHeaderOptionsDropdown: React.FunctionComponent<ChatbotHeader
3737
aria-label="Chatbot options"
3838
ref={toggleRef}
3939
icon={
40-
<Icon iconSize="xl" isInline>
40+
<Icon iconSize="lg" isInline>
4141
<EllipsisIcon />
4242
</Icon>
4343
}

0 commit comments

Comments
 (0)