Fix positioning of bookmark icons

This commit is contained in:
Ramon Wenger 2019-10-28 10:58:33 +01:00
parent 081f567334
commit c346cfef3f
3 changed files with 6 additions and 2 deletions

View File

@ -11,6 +11,6 @@
.add-note-icon { .add-note-icon {
width: 29px; width: 29px;
height: 25px; height: 25px;
margin-left: -2px; margin-left: 2px;
} }
</style> </style>

View File

@ -12,6 +12,6 @@
.note-icon { .note-icon {
width: 29px; width: 29px;
height: 25px; height: 25px;
margin-left: -2px; margin-left: 2px;
} }
</style> </style>

View File

@ -41,11 +41,15 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-content: center;
&__action { &__action {
opacity: 0; opacity: 0;
transition: opacity 0.3s; transition: opacity 0.3s;
cursor: pointer; cursor: pointer;
width: 26px;
display: flex;
justify-content: center;
&--bookmarked, &--noted { &--bookmarked, &--noted {
opacity: 1; opacity: 1;