Skip to content

Commit

Permalink
Merge pull request #550 from ckeditor/i/6507
Browse files Browse the repository at this point in the history
Internal: Cleaned up the FormHeaderView docs and code. Closes #6507.
  • Loading branch information
oleq authored Apr 3, 2020
2 parents a006284 + f0369ae commit 948ff4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion packages/ckeditor5-ui/src/formheader/formheaderview.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default class FormHeaderView extends View {
*
* @param {module:utils/locale~Locale} locale The locale instance.
* @param {Object} options
* @param {String} [options.label] A label.
* @param {String} options.label A label.
* @param {String} [options.class] An additional class.
*/
constructor( locale, options = {} ) {
Expand Down
14 changes: 1 addition & 13 deletions packages/ckeditor5-ui/theme/components/formheader/formheader.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,10 @@
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/

:root {
--ck-table-form-header-height: 38px;
}

.ck.ck-form__header {
display: flex;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: center;
justify-content: space-between;
padding: var(--ck-spacing-small) var(--ck-spacing-large);
height: var(--ck-table-form-header-height);
line-height: var(--ck-table-form-header-height);
border-bottom: 1px solid var(--ck-color-base-border);

& .ck-form__header__label {
font-weight: bold;
}
}

0 comments on commit 948ff4d

Please # to comment.