Skip to content

Commit

Permalink
Merge pull request #77 from farend/fix-tab-changesets
Browse files Browse the repository at this point in the history
Support tab-changesets
  • Loading branch information
ishikawa999 authored Dec 5, 2023
2 parents 9c11a84 + d24a37b commit 52a8a4d
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion javascripts/theme.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion javascripts/theme.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/scripts/bleuclair.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function setDiscontinuityClassToTabContent(id) {
if ($('#' + id).hasClass('selected')) {
if (id === 'tab-notes' || id === 'tab-properties') {
if (id === 'tab-notes' || id === 'tab-properties' || id === 'tab-changesets') {
$('div#tab-content-history').addClass('discontinuity');
} else {
$('div#tab-content-history').removeClass('discontinuity');
Expand Down
2 changes: 1 addition & 1 deletion src/styles/components/_boards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
}

// #change-n #note-n
&:target .contextual + h4, div:target .contextual + h4 {
&:target h4.note-header, div:target h4.note-header {
background: $color-target-bg;

&:before {
Expand Down
4 changes: 2 additions & 2 deletions src/styles/components/_issues.scss
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ div#update .jstTabs.tabs li a {
}

// #tab-content-changesets内のh4要素のみ.contextualと隣接していないため個別の書き方をしている
.contextual + h4, &.changeset > h4:first-child {
h4.note-header {
left: 20px;
position: relative;
margin: $note-title-margin;
Expand Down Expand Up @@ -243,7 +243,7 @@ div#update .jstTabs.tabs li a {

form .jstBlock, form input, div[id^="template_journal"],
.wiki:not(.wiki-preview),
&.time_entry p, &.changeset > p {
&.time_entry p, &.changeset .note > p {
margin-left: 32px;
}
}
Expand Down
2 changes: 1 addition & 1 deletion stylesheets/theme.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion stylesheets/theme.css.map

Large diffs are not rendered by default.

0 comments on commit 52a8a4d

Please sign in to comment.