Skip to content

Commit

Permalink
Minor fix (#132)
Browse files Browse the repository at this point in the history
* Refactor ShellMainView.vue component

* Fix conditional statement in ShellMainView.vue

* Run linters

---------

Co-authored-by: Lint Bot <[email protected]>
  • Loading branch information
mewim and mewim authored Apr 1, 2024
1 parent 0c1b603 commit ecb39f2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/ShellView/ShellMainView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
class="shell-main-view__wrapper"
:style="{ height: `${containerHeight}px` }"
>
<div class="shell-main-view__placeholder">
<div
v-if="maximizedCellIndex < 0"
class="shell-main-view__placeholder"
>
<a
href="#"
@click="addCell"
Expand Down Expand Up @@ -182,16 +185,19 @@ export default {
.shell-main-view__wrapper {
width: 100%;
overflow-y: scroll;
.shell-main-view__placeholder {
margin: 20px;
margin-top: 20px;
padding: 8px;
border: 2px solid $gray-300;
a {
font-style: italic;
font-weight: 400;
color: $body-tertiary-color;
text-decoration: none;
i {
margin-right: 24px;
}
Expand Down

0 comments on commit ecb39f2

Please sign in to comment.