Skip to content

Commit

Permalink
[Issue-229][Mythical Telegram App] fix some small ui bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dungnguyen-art committed Dec 17, 2024
1 parent 311799c commit 1539a09
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Component = ({ className }: Props): React.ReactElement => {
const [leaderboardConfig, setLeaderboardConfig] = useState(apiSDK.leaderboardConfig);
const [currentLeaderboardInfo, setCurrentLeaderboardInfo] = useState<LeaderboardInfo | undefined>(undefined);
const [leaderboardPersonItems, setLeaderboardPersonItems] = useState<LeaderboardPerson[]>([]);
const [isLoading, setIsLoading] = useState(false);
const [isLoading, setIsLoading] = useState(true);
const [leaderboardInfo, setLeaderboardInfo] = useState<LeaderboardInfo | undefined>(undefined);
const { activeModal, inactiveModal } = useContext(ModalContext);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@ const AlertModal = styled(Component)<Props>(({ theme: { extendToken, token } }:
paddingBottom: 4
},

'.ant-sw-header-center-part.ant-sw-header-center-part': {
marginLeft: 0,
marginRight: 0
},

'.ant-sw-modal-footer': {
display: 'flex',
borderTop: 0,
Expand Down
4 changes: 2 additions & 2 deletions packages/webapp/public/assets/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,8 @@ div#popup-container {

.ant-sw-modal .ant-sw-header-container-center .ant-sw-header-center-part {
width: auto;
/*margin-left: 48px;*/
/*margin-right: 48px;*/
margin-left: 48px;
margin-right: 48px;
}

.ant-sw-sub-header-title-content {
Expand Down

0 comments on commit 1539a09

Please sign in to comment.