Fix: align base card close button to the right always (#11861)
This commit is contained in:
parent
cda17d55b4
commit
a3f0633037
5 changed files with 29 additions and 21 deletions
|
@ -51,7 +51,6 @@ limitations under the License.
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: calc(100% - 38px);
|
||||
height: 24px;
|
||||
flex: 1;
|
||||
|
||||
|
@ -157,6 +156,7 @@ limitations under the License.
|
|||
|
||||
.mx_BaseCard_back,
|
||||
.mx_BaseCard_close {
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
background-color: var(--cpd-color-bg-subtle-secondary);
|
||||
width: var(--BaseCard_header-button-size);
|
||||
|
@ -226,3 +226,7 @@ limitations under the License.
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mx_BaseCard_headerProp {
|
||||
flex: 1 1 100%;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue