mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 15:05:44 +01:00
Specify card-columns to select css properties more clearly
This commit is contained in:
@@ -70,7 +70,7 @@ export default class CardColumnGroup extends React.Component<Props, State> {
|
|||||||
</span>
|
</span>
|
||||||
</h2>
|
</h2>
|
||||||
<hr />
|
<hr />
|
||||||
<Wrapper className={classNames("columns", "is-multiline")}>{content}</Wrapper>
|
<Wrapper className={classNames("columns", "card-columns", "is-multiline")}>{content}</Wrapper>
|
||||||
<div className="is-clearfix" />
|
<div className="is-clearfix" />
|
||||||
</Container>
|
</Container>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -443,8 +443,8 @@ ul.is-separated {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// columns
|
// card columns for repo and plugins overview
|
||||||
.columns.is-multiline {
|
.card-columns {
|
||||||
.column {
|
.column {
|
||||||
height: 120px;
|
height: 120px;
|
||||||
|
|
||||||
@@ -457,35 +457,33 @@ ul.is-separated {
|
|||||||
.column.is-half {
|
.column.is-half {
|
||||||
width: calc(50% - 0.75rem);
|
width: calc(50% - 0.75rem);
|
||||||
|
|
||||||
|
@media screen and (max-width: 768px) {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
&:nth-child(odd) {
|
&:nth-child(odd) {
|
||||||
margin-right: 1.5rem;
|
margin-right: 1.5rem;
|
||||||
|
|
||||||
|
@media screen and (max-width: 768px) {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.overlay-column {
|
.overlay-column {
|
||||||
width: calc(50% - 3rem);
|
width: calc(50% - 3rem);
|
||||||
|
|
||||||
|
@media screen and (max-width: 768px) {
|
||||||
|
width: calc(100% - 1.5rem);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.column.is-full .overlay-column {
|
.column.is-full .overlay-column {
|
||||||
width: calc(100% - 1.5rem);
|
width: calc(100% - 1.5rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 768px) {
|
|
||||||
.column.is-half {
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
&:nth-child(odd) {
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.overlay-column {
|
|
||||||
width: calc(100% - 1.5rem);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.content.is-plugin-page {
|
.content.is-plugin-page {
|
||||||
.columns.is-multiline {
|
.card-columns {
|
||||||
.column.is-half .overlay-column {
|
.column.is-half .overlay-column {
|
||||||
width: calc(37.5% - 1.5rem);
|
width: calc(37.5% - 1.5rem);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user