mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
display button like other create buttons on mobile sites
This commit is contained in:
@@ -21,7 +21,8 @@ type Props = {
|
|||||||
|
|
||||||
const styles = {
|
const styles = {
|
||||||
spacing: {
|
spacing: {
|
||||||
marginTop: "1.25rem"
|
marginTop: "1.25rem",
|
||||||
|
textAlign: "right"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -62,7 +63,7 @@ class Page extends React.Component<Props> {
|
|||||||
<Subtitle subtitle={subtitle} />
|
<Subtitle subtitle={subtitle} />
|
||||||
</div>
|
</div>
|
||||||
<div className="column is-two-fifths">
|
<div className="column is-two-fifths">
|
||||||
<div className={classNames(classes.spacing, "is-pulled-right")}>{content}</div>
|
<div className={classNames(classes.spacing, "is-mobile-create-button-spacing")}>{content}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{underline}
|
{underline}
|
||||||
|
|||||||
@@ -47,6 +47,19 @@ hr.header-with-actions {
|
|||||||
height: 1px;
|
height: 1px;
|
||||||
margin-top: -10px;
|
margin-top: -10px;
|
||||||
background-color: $primary;
|
background-color: $primary;
|
||||||
|
|
||||||
|
@media screen and (max-width: 768px) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.is-mobile-create-button-spacing {
|
||||||
|
@media screen and (max-width: 768px) {
|
||||||
|
border: 2px solid #e9f7fd;
|
||||||
|
padding: 1em 1em;
|
||||||
|
margin-top: 0 !important;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
|
|||||||
Reference in New Issue
Block a user