Skip to content

Commit

Permalink
Fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfendeksilverstripe committed Feb 14, 2024
1 parent 55f7744 commit 58b6c37
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions client/src/components/HistoryViewer/HistoryViewerVersion.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
$snapshot-top-padding: $table-cell-padding * 2 + $line-height-base;

.history-viewer__row--current {
.history-viewer__version-link {
cursor: default;
Expand Down Expand Up @@ -80,7 +82,7 @@

&--initial {
&:before {
top: ($table-cell-padding * 2 + $line-height-base) / 2;
top: calc($snapshot-top-padding / 2);
}
}
&--muted {
Expand All @@ -94,4 +96,4 @@
display:none;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@

// In detail views, pulls the content (and content tabs) closer to the selected version table
.history-viewer__table--current {
margin-bottom: $panel-padding-y / 2;
margin-bottom: calc($panel-padding-y / 2);
}

.history-viewer {
Expand Down

0 comments on commit 58b6c37

Please sign in to comment.