mirror of https://github.com/nextcloud/bookmarks
UI: Always align shared icon with folder icon
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
8392435478
commit
462f8fda11
|
@ -232,7 +232,7 @@ export default {
|
|||
.folder__icon.shared {
|
||||
transform: scale(0.4);
|
||||
position: absolute;
|
||||
top: 11px;
|
||||
top: -1px;
|
||||
height: auto;
|
||||
width: auto;
|
||||
left: -2px;
|
||||
|
|
|
@ -26,7 +26,9 @@
|
|||
:aria-label="selectLabel"
|
||||
@click="$event.preventDefault(); $event.stopImmediatePropagation(); $emit('select');" />
|
||||
</div>
|
||||
<slot name="icon" />
|
||||
<div class="item__icon">
|
||||
<slot name="icon" />
|
||||
</div>
|
||||
<div class="item__labels">
|
||||
<slot name="title" />
|
||||
<slot name="tags">
|
||||
|
@ -250,6 +252,15 @@ export default {
|
|||
padding: 0 8px 0 0;
|
||||
}
|
||||
|
||||
.item__icon {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.item--gridview .item__icon {
|
||||
top: -155px;
|
||||
left: 110px;
|
||||
}
|
||||
|
||||
.item--gridview .item__rename {
|
||||
padding: 0 8px 5px 10px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue