1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

Display category names in documents list (space view)

We pre-fetch category names and attach them to documents.
This commit is contained in:
Harvey Kandola 2019-01-08 12:43:25 +00:00
parent 1d4a20cdfe
commit 5467771542
8 changed files with 804 additions and 722 deletions

View file

@ -71,6 +71,7 @@
@include border-radius(5px);
background-color: map-get($gray-shades, 300);
padding: 0.25rem 1rem;
margin-right: 20px;
> .draft {
color: map-get($yellow-shades, 600);
@ -90,12 +91,34 @@
font-size: 20px;
}
.categories {
display: inline-block;
padding: 0;
> .category {
padding: 0 15px 0 0;
display: inline-block;
> .dicon {
color: map-get($gray-shades, 500);
font-size: 20px;
vertical-align: bottom;
}
> .name {
display: inline-block;
color: map-get($gray-shades, 800);
font-size: 1rem;
}
}
}
.hashtags {
display: inline-block;
padding: 0 10px 0 10px;
padding: 0;
> .hashtag {
padding: 0 10px 0 10px;
padding: 0 15px 0 0;
> .dicon {
color: map-get($gray-shades, 500);