0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

fix(console): create tenant button should stretch to full width (#6381)

This commit is contained in:
Charles Zhao 2024-08-02 12:03:08 +08:00 committed by GitHub
parent ce63bba018
commit 4a324d68c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,6 +65,8 @@ $dropdown-item-height: 40px;
}
.dropdown {
display: flex;
flex-direction: column;
max-width: 500px;
min-width: 320px;
@ -75,11 +77,6 @@ $dropdown-item-height: 40px;
.createTenantButton {
all: unset;
/**
* `inline-size: stretch` is needed since button will have the used value `inline-size: fit-content` by default.
* @see {@link https://html.spec.whatwg.org/multipage/rendering.html#button-layout}
*/
inline-size: stretch;
display: flex;
align-items: center;
padding: _.unit(2.5) _.unit(3) _.unit(2.5) _.unit(4);