Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions assets/scss/shortcodes/tabbed-pane.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
.tab-content {
.tab-pane {
pre {
margin: 0rem 0 0rem 0;
}
Comment thread
deining marked this conversation as resolved.
}
// Only constrain max-width for top-level tabbed panes not, e.g., those in lists.
.td-content > .tab-content .tab-pane {
@extend .td-max-width-on-larger-screens;
}

.tab-content {
.tab-pane {
@extend .td-max-width-on-larger-screens;
.highlight {
margin: 0rem 0 0rem 0;
margin: 0;
border: none;
max-width: 100%;
}
Expand All @@ -29,6 +25,15 @@
border-radius: 0;
padding: 1.5rem;

> :last-child {
margin-bottom: 0;
}
Comment thread
deining marked this conversation as resolved.

> .highlight:only-child {
margin: -1.5rem;
max-width: calc(100% + 3rem);
}
Comment thread
deining marked this conversation as resolved.

@each $color, $value in $theme-colors {
&-#{$color} {
border-style: solid;
Expand Down