mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-19 21:31:29 +00:00
Merge pull request #20602 from overleaf/jel-cms-bottom-align-card
[web] Fix bottom alignment in cards on CMS BS5 GitOrigin-RevId: a09e7f21b0eab3642b7c22cec39a08842f8614a5
This commit is contained in:
parent
518647c13d
commit
3561e6315f
1 changed files with 22 additions and 6 deletions
|
@ -542,13 +542,29 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom-align-last-entry {
|
.bottom-align-last-entry {
|
||||||
display: flex;
|
&.no-card {
|
||||||
flex-direction: column;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
* {
|
* {
|
||||||
&:last-child {
|
&:last-child {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
align-content: end;
|
align-content: end;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.card {
|
||||||
|
.card-body {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
* {
|
||||||
|
&:last-child {
|
||||||
|
flex: 1;
|
||||||
|
align-content: end;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue