diff --git a/net/web/src/carousel/Carousel.jsx b/net/web/src/carousel/Carousel.jsx
index 9f96983a..6ab0ea07 100644
--- a/net/web/src/carousel/Carousel.jsx
+++ b/net/web/src/carousel/Carousel.jsx
@@ -4,8 +4,9 @@ import { CarouselWrapper } from './Carousel.styled';
import { RightOutlined, LeftOutlined, CloseOutlined, PictureOutlined, FireOutlined } from '@ant-design/icons';
import ReactResizeDetector from 'react-resize-detector';
-export function Carousel({ ready, error, items, itemRenderer, itemRemove }) {
+export function Carousel({ pad, ready, error, items, itemRenderer, itemRemove }) {
const [slots, setSlots] = useState([]);
+ const [padClass, setPadClass] = useState('');
const [carouselRef, setCarouselRef] = useState(false);
const [itemIndex, setItemIndex] = useState(0);
const [scrollLeft, setScrollLeft] = useState('hidden');
@@ -133,11 +134,11 @@ export function Carousel({ ready, error, items, itemRenderer, itemRemove }) {
)}
{ ready && !error && (
-
+
{slots}
)}
-
+
);
diff --git a/net/web/src/carousel/Carousel.styled.js b/net/web/src/carousel/Carousel.styled.js
index b5a121cf..2929eaf6 100644
--- a/net/web/src/carousel/Carousel.styled.js
+++ b/net/web/src/carousel/Carousel.styled.js
@@ -6,7 +6,6 @@ export const CarouselWrapper = styled.div`
display: grid;
width: 100%;
height: 128px;
- margin-top: 16px;
.carousel {
display: flex;
@@ -46,7 +45,10 @@ export const CarouselWrapper = styled.div`
margin-left: 8px;
margin-right: 8px;
justify-content: center;
- color: ${Colors.grey};
+ color: ${Colors.text};
+ background-color: ${Colors.profileForm};
+ border-radius: 8px;
+ opacity: 0.7;
}
.right-arrow {
diff --git a/net/web/src/session/conversation/addTopic/AddTopic.jsx b/net/web/src/session/conversation/addTopic/AddTopic.jsx
index ae8cfa8b..66692d53 100644
--- a/net/web/src/session/conversation/addTopic/AddTopic.jsx
+++ b/net/web/src/session/conversation/addTopic/AddTopic.jsx
@@ -91,11 +91,11 @@ export function AddTopic({ cardId, channelId }) {
onSelectImage(e)} style={{display: 'none'}}/>
onSelectAudio(e)} style={{display: 'none'}}/>
onSelectVideo(e)} style={{display: 'none'}}/>
-
- { state.assets.length > 0 && (
-
- )}
-
+ { state.assets.length > 0 && (
+
+
+
+ )}
keyDown(e)} onChange={(e) => actions.setMessageText(e.target.value)}
diff --git a/net/web/src/session/conversation/addTopic/AddTopic.styled.js b/net/web/src/session/conversation/addTopic/AddTopic.styled.js
index 5a089274..e5ee989d 100644
--- a/net/web/src/session/conversation/addTopic/AddTopic.styled.js
+++ b/net/web/src/session/conversation/addTopic/AddTopic.styled.js
@@ -14,6 +14,10 @@ export const AddTopicWrapper = styled.div`
padding-bottom: 8px;
}
+ .assets {
+ padding-top: 8px;
+ }
+
.buttons {
padding-left: 32px;
padding-right: 32px;
diff --git a/net/web/src/session/conversation/topicItem/TopicItem.jsx b/net/web/src/session/conversation/topicItem/TopicItem.jsx
index 483cf0a6..dfe9e077 100644
--- a/net/web/src/session/conversation/topicItem/TopicItem.jsx
+++ b/net/web/src/session/conversation/topicItem/TopicItem.jsx
@@ -100,7 +100,7 @@ export function TopicItem({ host, topic }) {
return (
-
+
@@ -118,23 +118,25 @@ export function TopicItem({ host, topic }) {
return (
-
-
-
-
+