Skip to content

Commit

Permalink
fix: made tabs fill the width on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
juzraai committed Apr 16, 2021
1 parent 9413a37 commit 8d7aa1e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
</template>

<script>
// TODO under MD, make tabs flex-grow:1
// TODO invoice generator in modal/separate page. list of unpaid clients with editable price and remove from invoice btn, calculates subtotals and total, formats as PRE, or maybe provides more format options
// TODO upgrade to Vue CLI 4, Vue 3
// TODO app logo, brand, favicon
Expand Down
14 changes: 12 additions & 2 deletions src/components/LogWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Widget :card-body-class="'p-0'">
<ul class="bg-light mb-1 nav nav-tabs pl-3 pt-3">
<li
class="nav-item"
class="nav-item text-center"
:key="i"
:title="t.tooltip"
v-b-tooltip.hover.top
Expand Down Expand Up @@ -82,7 +82,17 @@ export default {
};
</script>

<style scoped>
<style lang="scss" scoped>
@import "~bootstrap/scss/functions";
@import "~bootstrap/scss/variables";
@import "~bootstrap/scss/mixins";
@include media-breakpoint-down(sm) {
.nav-item {
flex-grow: 1;
}
}
.nav-link.active {
color: black;
}
Expand Down

0 comments on commit 8d7aa1e

Please sign in to comment.