Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature digest improvements #17512

Merged
merged 5 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions docs/_snippets/features/feature-digest.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<style>
tr {
display: flex;
}

td:first-child, th:first-child {
flex: 1;
}

td:nth-child(2), th:nth-child(2) {
flex: 2;
}

.background-gray {
background-color: #F5F5F5;
}

tr.subfeature > td:first-child > span {
display: flex;
align-items: center;
margin-left: 12px;
}

.medium-zoom-image {
z-index: 1;
pointer-events: none;
cursor: pointer;
}

table {
border-collapse: collapse;
}

table tr:last-child > td {
border-bottom-color: #000;
}

tr.feature > td:first-child {
border-top-color: #000;
border-left-color: #000;
}

tr.feature > td:last-child {
border-top-color: #000;
border-right-color: #000;
}

gorzelinski marked this conversation as resolved.
Show resolved Hide resolved
tr.subfeature > td:first-child {
border-left-color: #000;
}

tr.subfeature > td:last-child {
border-right-color: #000;
}

tr.subfeature > td:first-child > span {
display: flex;
align-items: center;
margin-left: 12px;
}
</style>
4 changes: 4 additions & 0 deletions docs/_snippets/features/feature-digest.js
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, this empty file is necessary.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/**
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
Loading