summaryrefslogtreecommitdiffstats
path: root/app/common/styles/components
diff options
context:
space:
mode:
authorIftekharul Islam <iffy.ryan@ibm.com>2018-11-16 14:50:22 -0600
committerGunnar Mills <gmills@us.ibm.com>2019-01-30 18:12:13 +0000
commit97280b3efde6a19a517096940fd8e68c3c192331 (patch)
tree3fcbfcc7644c5597899f08fd34ce8ea981e567ac /app/common/styles/components
parenta3b397d7f7d2460c33bf369a344522e4d7f4d463 (diff)
downloadphosphor-webui-97280b3efde6a19a517096940fd8e68c3c192331.tar.gz
phosphor-webui-97280b3efde6a19a517096940fd8e68c3c192331.zip
Fix table header
Makes the table header in sensor page stay fixed after scrolling. Fixes the allignment of filter button. Resolves openbmc/phosphor-webui#28 Change-Id: If9b8b0848169b5924b811e67588ff57c8dae7c5c Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
Diffstat (limited to 'app/common/styles/components')
-rw-r--r--app/common/styles/components/table.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/common/styles/components/table.scss b/app/common/styles/components/table.scss
index 01c0632..c26ba59 100644
--- a/app/common/styles/components/table.scss
+++ b/app/common/styles/components/table.scss
@@ -109,6 +109,13 @@
@include indeterminate-bar;
}
+// sensor fixed table header on scroll
+.fixed-table-header{
+ position: sticky;
+ top: 130px;
+ z-index: 1;
+}
+
//sortable heading
.sort-heading {
position: relative;
OpenPOWER on IntegriCloud