mirror of
https://github.com/logto-io/logto.git
synced 2025-01-27 21:39:16 -05:00
fix(console): create tenant button should stretch to full width (#6381)
This commit is contained in:
parent
ce63bba018
commit
4a324d68c2
1 changed files with 2 additions and 5 deletions
|
@ -65,6 +65,8 @@ $dropdown-item-height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown {
|
.dropdown {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
max-width: 500px;
|
max-width: 500px;
|
||||||
min-width: 320px;
|
min-width: 320px;
|
||||||
|
|
||||||
|
@ -75,11 +77,6 @@ $dropdown-item-height: 40px;
|
||||||
|
|
||||||
.createTenantButton {
|
.createTenantButton {
|
||||||
all: unset;
|
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;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: _.unit(2.5) _.unit(3) _.unit(2.5) _.unit(4);
|
padding: _.unit(2.5) _.unit(3) _.unit(2.5) _.unit(4);
|
||||||
|
|
Loading…
Add table
Reference in a new issue