mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 20:53:24 +10:00
EditListingPage secondary navigation (tabs) styled for mobile
This commit is contained in:
parent
73f7450b6b
commit
6e785c5737
5 changed files with 42 additions and 2 deletions
|
|
@ -1,10 +1,23 @@
|
|||
@import '../../marketplace.css';
|
||||
|
||||
.root {
|
||||
/* Layout */
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.nav {
|
||||
margin: 1rem;
|
||||
/* Layout */
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
padding: 11px 24px 0 24px;
|
||||
|
||||
border-top-width: 1px;
|
||||
border-top-color: var(--matterColorNegative);
|
||||
border-top-style: solid;
|
||||
background-color: var(--matterColorLight);
|
||||
box-shadow: var(--boxShadow);
|
||||
}
|
||||
|
||||
.panel {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
@import '../../marketplace.css';
|
||||
|
||||
.root {
|
||||
overflow-x: auto;
|
||||
|
||||
&::after {
|
||||
content: ".";
|
||||
visibility: hidden;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,27 @@
|
|||
@import '../../marketplace.css';
|
||||
|
||||
.mobileTopbar {
|
||||
/* Size */
|
||||
width: 100%;
|
||||
height: var(--topbarHeight);
|
||||
|
||||
/* Layout for child components */
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
/* fill */
|
||||
background-color: var(--matterColorLight);
|
||||
|
||||
/* shadows */
|
||||
box-shadow: none;
|
||||
|
||||
@media (--desktopViewport) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.wizard {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ export const EditListingPageComponent = props => {
|
|||
|
||||
return (
|
||||
<PageLayout title={title} scrollingDisabled={scrollingDisabled}>
|
||||
<Topbar history={history} location={location} />
|
||||
<Topbar mobileRootClassName={css.mobileTopbar} history={history} location={location} />
|
||||
<EditListingWizard
|
||||
className={css.wizard}
|
||||
disabled={disableForm}
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
border-top-width: 1px;
|
||||
border-top-color: var(--matterColorNegative);
|
||||
border-top-style: solid;
|
||||
background-color: var(--matterColorLight);
|
||||
box-shadow: var(--boxShadow);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue