mirror of
https://github.com/hexastack/hexabot
synced 2025-02-23 21:04:15 +00:00
fix: carrousel styling
This commit is contained in:
parent
a6ab2be5e0
commit
be99405853
@ -38,14 +38,14 @@
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
position: relative;
|
||||
max-width: calc(100% - 2rem);
|
||||
max-width: calc(100% - 40px); // same as avatar spacing
|
||||
width: auto;
|
||||
|
||||
.sc-message--avatar {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 4px;
|
||||
margin-top: 2px;
|
||||
margin: 2px 4px;
|
||||
background-position: 0 0;
|
||||
flex-shrink: 0;
|
||||
background-size: cover;
|
||||
@ -55,8 +55,6 @@
|
||||
.sc-message--wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-width: 290px;
|
||||
width: 100%;
|
||||
|
||||
.sc-message--text {
|
||||
padding: 10px 20px;
|
||||
|
@ -1,7 +1,7 @@
|
||||
.sc-message--carousel {
|
||||
border-radius: 0.5rem;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
width: 275px;
|
||||
overflow: hidden;
|
||||
|
||||
.sc-message--carousel-inner {
|
||||
@ -18,7 +18,6 @@
|
||||
|
||||
.sc-message--carousel-element {
|
||||
width: 100%;
|
||||
min-width: 290px;
|
||||
.sc-message--carousel-element-image {
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
|
Loading…
Reference in New Issue
Block a user