Skip to content

Commit

Permalink
fix online help layout
Browse files Browse the repository at this point in the history
  • Loading branch information
bikubi authored and krmax44 committed Aug 12, 2024
1 parent f40e335 commit 098f0a7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions frontend/javascript/components/postupload/app-shell.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ $breakpoint: 1000px;
<style lang="scss" scoped>
// TODO: again, arbitrary breakpoint
$breakpoint: 1000px;
$breakpoint-onlinehelp: 600px;
$ci-accent-text: rgb(
41,
109,
Expand Down Expand Up @@ -287,25 +288,25 @@ $step-width: 10em;
.appshell-help {
position: fixed;
right: 0;
// TODO this value was eyeballed from the bootstrap container width
width: calc((100vw - 1000px) / 2);
width: 20em;
max-width: 100%;
top: $header-height;
bottom: 0;
overflow-y: scroll;
z-index: 100;
@media (max-width: $breakpoint) {
@media (max-width: $breakpoint-onlinehelp) {
top: $header-height;
left: 0;
width: 100%;
bottom: 0;
z-index: 100;
}
}
.appshell-help-close {
position: fixed;
right: 1em;
top: calc(1em + $header-height);
right: 0.5em;
top: calc(0.5em + $header-height);
width: 3em;
height: 3em;
background: 0;
Expand Down
4 changes: 2 additions & 2 deletions frontend/javascript/components/postupload/online-help.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ onMounted(() => {

<style lang="scss" scoped>
.onlinehelp {
background-color: #fbde85;
background-color: transparentize(#fbde85, 0.05);
min-height: 100%;
padding: 2em;
padding: 4em 2em 2em 2em;
}
.spinner {
position: absolute;
Expand Down

0 comments on commit 098f0a7

Please sign in to comment.