mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
* feat(web): add server-setup page for when bot isn't in the server picked * chore: move contexts into their own folder * feat(web): add recent guilds context, and app shell helper context * feat(web): show recent guilds in masthead * feat(web): functionally add recents to servers list * fix(web): correct styling for servers listing recents/all headers * fix(web): correct some type issues with appShellProps * fix(web): don't show ServerListing recents when recents is empty
27 lines
615 B
TypeScript
27 lines
615 B
TypeScript
import { onTablet } from '@roleypoly/design-system/atoms/breakpoints';
|
|
import styled, { css } from 'styled-components';
|
|
|
|
export const ContentContainer = styled.div`
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: calc(98vw - 15px);
|
|
padding-bottom: 25px;
|
|
${onTablet(css`
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
`)}
|
|
`;
|
|
|
|
export const CardContainer = styled.div`
|
|
box-sizing: border-box;
|
|
margin-bottom: 5px;
|
|
${onTablet(css`
|
|
margin: 5px;
|
|
flex-basis: 30%;
|
|
max-width: 30%;
|
|
`)}
|
|
`;
|
|
|
|
export const SectionHead = styled.div`
|
|
flex: 1 1 100%;
|
|
`;
|