Skip to content

Commit 8e18c9e

Browse files
authored
chore(data-tables): Add missing annotation for fixed-header variant (#4601)
1 parent f2fe946 commit 8e18c9e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

ui/components/data-tables/fixed-header/_index.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
// Copyright (c) 2015-present, salesforce.com, inc. All rights reserved
22
// Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license
33

4-
// This code creates the fixed header (faux header) used in the inline-edit data-table. I don't think we'll surface this for customers as it's very complex when scrolling horizontally and requires some other code for containers, etc
4+
/**
5+
* @summary Creates fixed header for inline-edit data-table
6+
*
7+
* @name fixed-header
8+
* @selector .slds-table_header-fixed_container
9+
* @restrict div
10+
* @variant
11+
*/
512
.slds-table_header-fixed_container,
613
.slds-table--header-fixed_container {
14+
// This code creates the fixed header (faux header) used in the inline-edit data-table. I don't think we'll surface this for customers as it's very complex when scrolling horizontally and requires some other code for containers, etc
715
position: relative;
816
padding-top: 2rem; // This matches the height of the hover state w/border
917
background-color: $table-color-background-header; // This has to exist due to pixel paint diffs between the headers

0 commit comments

Comments
 (0)