Skip to content

Commit 4ee59c9

Browse files
committed
Layout fixes
1 parent 74a3b7d commit 4ee59c9

File tree

3 files changed

+10
-15
lines changed

3 files changed

+10
-15
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## [0.0.15]
5+
### Fixed
6+
- Prevent custom layout distruption when not `pf-layout` is disabled.
7+
- Removed bottom padding on `pf-table`.
8+
49
## [0.0.14]
510
### Added
611
- Implemented `pf-menu-item` as a functional component with vue-router integration.
@@ -157,7 +162,8 @@ disabled, as per PatternFly design guidelines.
157162
- `pf-toolbar` component
158163
- `pf-utilization-bar-chart` component
159164

160-
[Unreleased]: https://github.com/mtorromeo/vue-patternfly/compare/v0.0.14...HEAD
165+
[Unreleased]: https://github.com/mtorromeo/vue-patternfly/compare/v0.0.15...HEAD
166+
[0.0.15]: https://github.com/mtorromeo/vue-patternfly/compare/v0.0.14...v0.0.15
161167
[0.0.14]: https://github.com/mtorromeo/vue-patternfly/compare/v0.0.13...v0.0.14
162168
[0.0.13]: https://github.com/mtorromeo/vue-patternfly/compare/v0.0.12...v0.0.13
163169
[0.0.12]: https://github.com/mtorromeo/vue-patternfly/compare/v0.0.11...v0.0.12

src/components/Layout.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,9 @@ export default {
185185
</script>
186186

187187
<style>
188-
.pf-layout-container {
188+
.layout-pf .pf-layout-container {
189189
position: relative;
190-
height: 100%;
190+
min-height: 100%;
191191
}
192192
193193
nav.navbar-pf > .collapse .navbar-right:last-child,

src/components/Table.vue

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
<template>
2-
<div
3-
class="table-wrapper"
4-
:style="{
5-
'padding-bottom': bottomPadding,
6-
}"
7-
>
2+
<div class="table-wrapper">
83
<table v-if="scrollable"
94
class="table dataTable table-head-clone"
105
:style="{
@@ -225,12 +220,6 @@ export default {
225220
}
226221
return colspan;
227222
},
228-
229-
bottomPadding() {
230-
const headHeight = this.scrollable ? this.headHeight + 1 : 0;
231-
const paginationHeight = this.itemsPerPage > 0 ? this.paginationHeight : 0;
232-
return `${paginationHeight + headHeight}px`;
233-
},
234223
},
235224
236225
methods: {

0 commit comments

Comments
 (0)