Skip to content

Commit

Permalink
feat: styling for moderation failure action buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
petyosi committed May 25, 2022
1 parent 7df6cd5 commit c4f2830
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/styles/MessageActions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,22 @@
align-items: center;
}
}

.str-chat__message-moderation-error-actions-box {
display: flex;
justify-content: flex-end;
padding-top: var(--xs-p);
padding-bottom: var(--xs-p);
gap: var(--xs-p);

button {
border: none;
background: none;
font-weight: var(--font-weight-semi-bold);
color: var(--secondary-button-text);

&.str-chat__message-moderation-error-actions-box--primary {
color: var(--button-text);
}
}
}
1 change: 1 addition & 0 deletions src/styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ $border-radius: 16px;
--border: #00000014; // 14 = 8% opacity; top: x=0, y=-1; bottom: x=0, y=1
--button-background: #ffffff;
--button-text: #005fff;
--secondary-button-text: var(--grey);
--grey-gainsboro: #dbdbdb;
--grey-whisper: #ecebeb;
--highlight: #fbf4dd;
Expand Down

0 comments on commit c4f2830

Please sign in to comment.