Skip to content

Commit

Permalink
fix: lint and prepack
Browse files Browse the repository at this point in the history
  • Loading branch information
wd-4000 committed Dec 26, 2023
1 parent c3aa51b commit 1851510
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/runtime/components/e/btn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@
>
<e-loading-spinner />
</div>
<span class="actual-content d-flex" :style="{justifyContent:
justifyWrapper, alignContent: props.align, alignItems: props.align}">
<span
class="actual-content d-flex"
:style="{justifyContent:
justifyWrapper, alignContent: props.align, alignItems: props.align}"
>
<slot />
</span>
</div>
Expand Down
7 changes: 6 additions & 1 deletion src/runtime/components/e/nav/sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ const state = reactive({
.btn-text {
text-align: left;
max-width: calc(var(--expansion-amount) - 0.1rem*2);
display: none;
}
&:hover ~ .app-content {
Expand All @@ -86,6 +85,12 @@ const state = reactive({
flex-shrink: 0;
position: relative;
}
.btn-text {
display: block;
flex-grow: 0;
flex-shrink: 0;
position: relative;
}
.btn {
width: 100%;
flex-grow: 0;
Expand Down

0 comments on commit 1851510

Please sign in to comment.