Commit 705c2165 authored by nwindis's avatar nwindis
Browse files

Merge branch 'issue/mark-annotations-in-text-panel' into 'develop'

Issue/mark annotations in text panel

Closes #266

See merge request subugoe/emo/Qviewer!167
parents d4035d40 045f6164
Pipeline #197870 passed with stages
in 2 minutes and 18 seconds
......@@ -81,7 +81,7 @@ export default {
const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
svg.setAttribute('aria-hidden', 'true');
svg.setAttribute('class', 'q-icon q-ml-sm');
svg.setAttribute('class', 'q-icon q-ml-xs');
svg.setAttribute('focusable', 'false');
svg.setAttribute('role', 'presentation');
svg.setAttribute('viewBox', viewBox);
......@@ -153,24 +153,25 @@ export default {
};
</script>
<style>
<style lang="scss">
/* not in scope to style the text */
.q-item__section--avatar {
min-width: 24px;
}
.q-item__section--side {
padding-right: unset;
}
.q-item {
min-height: unset;
}
.annotation {
border-bottom: 2px solid;
padding-bottom: 2px;
background-color: $grey-4;
border-bottom: 1px solid;
/**
* adding a linting exception here,
* because 1px is invalid, but needed here
* adding a global rule for this would introduce unnecessary error proneness
*/
/* stylelint-disable */
margin: 0 1px;
padding: 1px 1px 2px 1px;
/* stylelint-enable */
white-space: nowrap;
@media (prefers-color-scheme: dark) {
background-color: $grey-9;
}
}
.annotation-disabled {
......@@ -182,3 +183,17 @@ export default {
display: none;
}
</style>
<style lang="scss" scoped>
.q-item {
min-height: unset;
}
.q-item__section--avatar {
min-width: 24px;
}
.q-item__section--side {
padding-right: unset;
}
</style>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment