Porównaj commity

...

2 Commity

Autor SHA1 Wiadomość Data
Aonrud 1279bf2052 fix: Change cursor on show/hide sensitive image to indicate it's clickable 2023-01-20 10:13:14 +00:00
Aonrud 09dd2ee665 fix: Correct the CW show/hide button position 2023-01-20 10:09:32 +00:00
2 zmienionych plików z 9 dodań i 12 usunięć

Wyświetl plik

@ -348,20 +348,15 @@ nav.flexbox {
}
.show-more-wrapper {
.p-summary {
display: inline-block;
}
.show-more-btn {
margin-left: 5px;
}
summary {
display: inline-block;
}
summary::-webkit-details-marker {
display: none
display: none;
}
& .show-more-btn {
.show-more-btn {
margin-left: 5px;
cursor: pointer;
color: $primary;
&:before {
@ -384,6 +379,11 @@ nav.flexbox {
content: ' Hide';
}
}
.show-hide-sensitive-btn {
cursor: pointer;
}
.sensitive-attachment {
display: inline-block;
.sensitive-attachment-state {

Wyświetl plik

@ -666,10 +666,7 @@
{% if object.summary %}
<details class="show-more-wrapper">
<summary>
<div class="p-summary">
<p>{{ object.summary | clean_html(object) | safe }}</p>
</div>
<span class="show-more-btn" aria-hidden="true"></span>
<p>{{ object.summary | clean_html(object) | safe }} <span class="show-more-btn" aria-hidden="true"></span></p>
</summary>
{% endif %}
<div class="obj-content">