mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
fix tab counter style
This commit is contained in:
parent
3ce91c9f44
commit
d5877f8a66
2 changed files with 12 additions and 5 deletions
|
|
@ -1196,8 +1196,8 @@ function prepareListHtml(list, isSelected)
|
|||
}
|
||||
return opentag +
|
||||
'<a href="' + _mtt.urlForList(list) + '" title="' + list.name + '">'+
|
||||
'<span class="counter hidden"></span>'+
|
||||
'<span class="title">' + list.name + '</span>' +
|
||||
'<div class="title-block"><span class="counter hidden"></span>'+
|
||||
'<span class="title">' + list.name + '</span></div>' +
|
||||
'<div class="list-action mtt-img-button"><span></span></div>'+
|
||||
'</a></li>';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -288,7 +288,6 @@ select.form-input {
|
|||
border-top-right-radius:8px;
|
||||
transition:background-color 0.1s ease-in;
|
||||
max-width:230px;
|
||||
min-width:95px;
|
||||
}
|
||||
.mtt-tab a {
|
||||
margin:0; text-decoration:none; white-space:nowrap;
|
||||
|
|
@ -300,8 +299,16 @@ select.form-input {
|
|||
display:flex;
|
||||
align-items:center;
|
||||
}
|
||||
.mtt-tab a:active { outline:0; text-decoration:none; }
|
||||
.mtt-tab a > .title {
|
||||
.mtt-tab a:active {
|
||||
outline:0;
|
||||
text-decoration:none;
|
||||
}
|
||||
.mtt-tab .title-block {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
min-width: 75px;
|
||||
}
|
||||
.mtt-tab .title {
|
||||
display:inline-block;
|
||||
text-align:center;
|
||||
cursor:pointer;
|
||||
|
|
|
|||
Loading…
Reference in a new issue