mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
Make icons slightly smaller, so they are the same size as before
This commit is contained in:
parent
12021228a5
commit
77de6c0288
3 changed files with 13 additions and 7 deletions
|
@ -7,22 +7,28 @@
|
|||
button {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
|
||||
padding: 0;
|
||||
|
||||
&:hover {
|
||||
background-color: #eee;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input {
|
||||
opacity: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
button {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
|
||||
background-color: white;
|
||||
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
width: auto;
|
||||
height: 30px;
|
||||
height: 26px;
|
||||
|
||||
padding: 3px 10px;
|
||||
margin-right: 3px;
|
||||
padding: 0 10px;
|
||||
margin: 0 3px;
|
||||
|
||||
&:focus {
|
||||
box-shadow: 0 0 0 0.05rem rgba(255, 255, 255, 0.5);
|
||||
|
|
Loading…
Reference in a new issue