Skip to content
Open
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
20 changes: 16 additions & 4 deletions stylesheets/commons/Brackets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,22 @@
justify-content: flex-start;
flex-wrap: unset;
gap: 0.5rem;

.theme--dark & {
color-scheme: dark;
}

.toggle-area & {
max-height: calc( 100dvh - ( 2.75rem + 4.1875rem + 3.5rem ) ); // 3.5rem for the switcher (compared to .brkts-popup.brkts-match-info-popup)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we also add a comment to explain what the other deductions are for?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they are copied from .brkts-popup.brkts-match-info-popup :P

}

@media ( width > 768px ) {
max-height: 65vh;

.toggle-area & {
max-height: calc( 65vh - 3.5rem ); // 3.5rem for the switcher
}
}
}

.theme--light & {
Expand All @@ -554,10 +570,6 @@
border-color: var( --clr-on-surface-dark-primary-8 );
}

@media ( min-width: 769px ) {
max-height: 65vh;
}

.timer-object-date {
display: block;
}
Expand Down
Loading