Skip to content

Commit

Permalink
Fix row citation
Browse files Browse the repository at this point in the history
  • Loading branch information
José Luis Pereira committed Aug 9, 2022
1 parent 6539225 commit e392a52
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 15 deletions.
4 changes: 2 additions & 2 deletions src/assets/css/leaflet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
--map-tiles-filter: brightness(0.6) invert(1) contrast(3) hue-rotate(200deg) saturate(0.3) brightness(0.7);
}

@media (prefers-color-scheme: dark) {
/* @media (prefers-color-scheme: dark) {
.map-tiles {
filter:var(--map-tiles-filter, none);
}
}
} */

.dark {
color-scheme: dark;
Expand Down
39 changes: 26 additions & 13 deletions src/modules/otus/components/Citation/CitationRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,33 @@
v-model="isExpanded"
class="mr-2"
/>
<div>
<svg
v-if="!isExpanded"
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6 text-primary-700 opacity-60 mr-2"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
stroke-width="2"
@click="isExpanded = !isExpanded"
>
<path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>

<svg
v-if="!isExpanded"
@click="isExpanded = !isExpanded"
xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-primary-700 opacity-60 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>

<svg
v-else
@click="isExpanded = !isExpanded"
xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 min-w-fit min-h-6 text-primary-700 opacity-60 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<svg
v-else
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6 text-primary-700 opacity-60 mr-2"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
stroke-width="2"
@click="isExpanded = !isExpanded"
>
<path stroke-linecap="round" stroke-linejoin="round" d="M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
</div>

<div class="pt-0.5">
<div v-if="isExpanded">
Expand Down

0 comments on commit e392a52

Please sign in to comment.