fix banner overflowing
This commit is contained in:
parent
49422705a8
commit
a4e6a72ca2
4 changed files with 15 additions and 5 deletions
|
|
@ -1,6 +1,7 @@
|
|||
.user-card {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
overflow: hidden;
|
||||
|
||||
// editing headers
|
||||
h4 {
|
||||
|
|
@ -161,9 +162,10 @@
|
|||
|
||||
.user-info {
|
||||
position: relative;
|
||||
margin: 0.6em;
|
||||
margin-bottom: 0;
|
||||
text-align: left;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1em;
|
||||
|
||||
.user-identity {
|
||||
position: relative;
|
||||
|
|
@ -171,7 +173,6 @@
|
|||
min-height: 6em;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
margin-bottom: 1em;
|
||||
container: user-card / inline-size;
|
||||
|
||||
> * {
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@
|
|||
}
|
||||
|
||||
.user-info {
|
||||
margin: 0.6em;
|
||||
|
||||
.Avatar {
|
||||
width: 5em;
|
||||
width: calc(min(5em, 20cqw));
|
||||
|
|
|
|||
|
|
@ -27,7 +27,11 @@
|
|||
/* popover styles load on-demand, so we need to override */
|
||||
/* stylelint-disable block-no-empty */
|
||||
.user-popover {
|
||||
margin-bottom: 0.6em;
|
||||
margin: 0;
|
||||
|
||||
.user-info {
|
||||
margin: 1.2em;
|
||||
}
|
||||
|
||||
.user-identity {
|
||||
aspect-ratio: unset;
|
||||
|
|
@ -40,7 +44,6 @@
|
|||
|
||||
&.popover {
|
||||
overflow: hidden;
|
||||
padding: 0.6em;
|
||||
}
|
||||
}
|
||||
/* stylelint-enable block-no-empty */
|
||||
|
|
|
|||
|
|
@ -140,6 +140,10 @@
|
|||
align-items: center;
|
||||
padding: 2em;
|
||||
}
|
||||
|
||||
.user-info {
|
||||
margin: 0.6em;
|
||||
}
|
||||
}
|
||||
|
||||
.user-profile-placeholder {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue