diff --git a/src/views/navigator/views/creator/NavigatorRoomCreatorView.scss b/src/views/navigator/views/creator/NavigatorRoomCreatorView.scss index ea0addeb..611a27c2 100644 --- a/src/views/navigator/views/creator/NavigatorRoomCreatorView.scss +++ b/src/views/navigator/views/creator/NavigatorRoomCreatorView.scss @@ -1,7 +1,8 @@ .room-model-list { display: flex; - overflow-x: auto; - scroll-snap-type: x mandatory; + flex-direction: column; + overflow-y: auto; + scroll-snap-type: y mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; diff --git a/src/views/navigator/views/creator/NavigatorRoomCreatorView.tsx b/src/views/navigator/views/creator/NavigatorRoomCreatorView.tsx index bfc1bb51..a8e877f4 100644 --- a/src/views/navigator/views/creator/NavigatorRoomCreatorView.tsx +++ b/src/views/navigator/views/creator/NavigatorRoomCreatorView.tsx @@ -66,64 +66,56 @@ export const NavigatorRoomCreatorView: FC = props }, [ name, description, category, visitorsCount, tradesSetting, selectedModelName ]); return ( -
-
-
-
- - setName(e.target.value) } /> -
+
+
+
+ + setName(e.target.value) } />
-
-
- - -
+
+ +
-
-
- - -
+
+ +
-
-
- - -
+
+ +
+
+ + setDescription(e.target.value) } /> +
+
-
- - setDescription(e.target.value) } /> -
-
+
{ NAVIGATOR_ROOM_MODELS.map(model => { - return (
selectModel(model.name) } className={ 'h-100 cursor-pointer d-flex flex-column justify-content-center align-items-center p-1 me-2 rounded border border-2' + classNames({ ' active': selectedModelName === model.name, ' disabled': GetSessionDataManager().clubLevel < model.clubLevel }) }> + return (
selectModel(model.name) } className={ 'cursor-pointer position-relative d-flex flex-column justify-content-center align-items-center p-1 rounded border border-2' + classNames({ ' active': selectedModelName === model.name, ' disabled': GetSessionDataManager().clubLevel < model.clubLevel }) }> + { model.clubLevel > HabboClubLevelEnum.NO_CLUB &&
}
{ model.tileSize } { LocalizeText('navigator.createroom.tilesize') }
- { model.clubLevel > HabboClubLevelEnum.NO_CLUB && }
); }) }
-
); }