mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
Set minimum size for buttons
This commit is contained in:
parent
a39cc89ac7
commit
20556ad3b1
@ -111,11 +111,12 @@ function onMousedown(evt: MouseEvent): void {
|
||||
z-index: 1; // 他コンポーネントのbox-shadowに隠されないようにするため
|
||||
display: block;
|
||||
min-width: 100px;
|
||||
min-height: 35px;
|
||||
width: max-content;
|
||||
padding: 8px 16px;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
font-size: 1em;
|
||||
font-size: max(12px, 1em);
|
||||
box-shadow: none;
|
||||
text-decoration: none;
|
||||
background: var(--buttonBg);
|
||||
@ -193,7 +194,7 @@ function onMousedown(evt: MouseEvent): void {
|
||||
|
||||
&.mini {
|
||||
padding: 4px 8px;
|
||||
font-size: 0.9em;
|
||||
font-size: max(12px, .9em);
|
||||
border-radius: 100px;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user