mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-05 21:16:26 -05:00
Support multiline buttons in Formats menu
This commit is contained in:
parent
699e481a05
commit
41326c5232
|
|
@ -525,21 +525,17 @@ p.or:after {
|
|||
font-size: 8pt;
|
||||
font-family: Verdana, Helvetica, Arial, sans-serif;
|
||||
margin: 0 0 0 6px;
|
||||
padding: 1px 4px;
|
||||
padding: 3px 4px;
|
||||
border: 0;
|
||||
border-radius: 2px;
|
||||
background: transparent;
|
||||
color: black;
|
||||
width: 204px;
|
||||
height: 19px;
|
||||
text-align: left;
|
||||
|
||||
box-sizing: border-box;
|
||||
}
|
||||
@media (max-height:590px) {
|
||||
.popupmenu button {
|
||||
height: 17px;
|
||||
}
|
||||
.popupmenu h3 {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
|
@ -548,23 +544,20 @@ p.or:after {
|
|||
}
|
||||
}
|
||||
@media (max-height:518px) {
|
||||
.popupmenu button {
|
||||
height: 16px;
|
||||
}
|
||||
.popupmenu h3 {
|
||||
margin-top: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
.popupmenu button.sel {
|
||||
padding: 0 3px;
|
||||
padding: 2px 3px;
|
||||
border: 1px solid #AAAAAA;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
.popupmenu button:hover,
|
||||
.popupmenu button.sel:hover {
|
||||
padding: 0 3px;
|
||||
padding: 2px 3px;
|
||||
border: 1px solid #888888;
|
||||
background: #D5D5D5;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user