Skip to content

Commit 7d73339

Browse files
Merge pull request #26 from GetStream/develop
fix(): update button styles
2 parents 0cb5dfd + b9b9ae7 commit 7d73339

10 files changed

Lines changed: 4316 additions & 3934 deletions

src/styles/Gallery.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
background: var(--white);
1212
margin-bottom: 1px;
1313
margin-right: 1px;
14+
border: none;
15+
padding: 0;
16+
display: flex;
1417

1518
&:hover {
1619
cursor: -moz-zoom-in;
@@ -61,10 +64,13 @@
6164
cursor: -moz-zoom-in;
6265
cursor: -webkit-zoom-in;
6366
cursor: zoom-in;
67+
cursor: pointer;
68+
border: none;
6469

6570
p {
6671
position: relative;
6772
z-index: 1;
73+
font-size: 16px;
6874
}
6975

7076
&::after {

src/styles/LoadMoreButton.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@
3939

4040
.str-chat__load-more-button__button {
4141
display: flex;
42+
align-items: center;
4243
justify-content: center;
4344
}

src/styles/Message.scss

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,9 @@
687687
align-items: center;
688688
height: 10px;
689689
cursor: pointer;
690+
background-color: transparent;
691+
border: none;
692+
padding: 0;
690693

691694
svg {
692695
fill: var(--black);
@@ -707,6 +710,13 @@
707710
&--options {
708711
position: relative;
709712
display: none;
713+
714+
> button {
715+
cursor: pointer;
716+
background-color: transparent;
717+
border: none;
718+
padding: 3px 0;
719+
}
710720
}
711721

712722
&--options.str-chat-angular__message-simple__actions__action--options--editing {
@@ -724,6 +734,10 @@
724734
.str-chat__message-simple__actions__action--reactions {
725735
display: flex;
726736
}
737+
738+
.str-chat__message-simple__actions__action--reactions {
739+
display: flex;
740+
}
727741
}
728742

729743
&-text {
@@ -815,6 +829,11 @@
815829
&:hover {
816830
.str-chat__message-simple__actions__action--options {
817831
display: flex;
832+
833+
button {
834+
display: flex;
835+
align-items: center;
836+
}
818837
}
819838

820839
.str-chat__message-simple__actions__action--reactions {

src/styles/MessageActions.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,9 @@
100100

101101
.str-chat__message-simple:focus-within .str-chat__message-simple__actions__action--options {
102102
display: flex;
103+
104+
button {
105+
display: flex;
106+
align-items: center;
107+
}
103108
}

src/styles/MessageInputFlat.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@
126126
position: absolute;
127127
top: calc(100% - 45px);
128128
left: 25px;
129+
border: none;
130+
cursor: pointer;
131+
padding: 0;
132+
background-color: transparent;
129133

130134
svg {
131135
fill: var(--black);

src/styles/Modal.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
cursor: pointer;
3333
display: flex;
3434
align-items: center;
35+
background-color: transparent;
36+
border: none;
3537

3638
svg {
3739
position: relative;
@@ -54,6 +56,8 @@
5456
position: relative;
5557
top: unset;
5658
right: unset;
59+
padding: 0;
60+
width: auto;
5761
}
5862
}
5963

src/styles/ReactionList.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@
3737
justify-content: center;
3838
margin: -1px -16px 0 0;
3939
z-index: 888;
40+
41+
button {
42+
cursor: pointer;
43+
background-color: transparent;
44+
border: none;
45+
display: flex;
46+
}
4047
}
4148

4249
.emoji-mart-emoji {

src/styles/ReactionSelector.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@
9393
}
9494
}
9595

96+
button.str-chat__message-reactions-list-item {
97+
background-color: transparent;
98+
border: none;
99+
padding: 0;
100+
display: flex;
101+
}
102+
96103
.str-chat__reaction-selector {
97104
z-index: 999;
98105
height: 60px;

src/styles/SmallMessageInput.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,20 @@
1919
width: 100%;
2020
}
2121

22+
&-fileupload {
23+
cursor: pointer;
24+
border: none;
25+
padding: 0;
26+
background-color: transparent;
27+
}
28+
2229
&-emojiselect {
2330
bottom: 10px;
2431
right: 6px;
32+
cursor: pointer;
33+
border: none;
34+
padding: 0;
35+
background-color: transparent;
2536
}
2637

2738
.rfu-file-upload-button {

0 commit comments

Comments
 (0)