-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix visual issue for table column comments in dark theme
Removes custom CSS for column comments. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
- Loading branch information
1 parent
803fbc1
commit b9fbad6
Showing
5 changed files
with
9 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{% if comments_map[table_name] is defined | ||
and comments_map[table_name][column_name] is defined %} | ||
<br><span class="tblcomment" title="{{ comments_map[table_name][column_name] }}"> | ||
{% if comments_map[table_name][column_name]|length > limit_chars %} | ||
{{ comments_map[table_name][column_name]|slice(0, limit_chars) }}… | ||
{% else %} | ||
{{ comments_map[table_name][column_name] }} | ||
{% endif %} | ||
</span> | ||
{% if comments_map[table_name] is defined and comments_map[table_name][column_name] is defined %} | ||
<br> | ||
<small class="text-body-secondary" title="{{ comments_map[table_name][column_name] }}"> | ||
{% if comments_map[table_name][column_name]|length > limit_chars %} | ||
{{ comments_map[table_name][column_name]|slice(0, limit_chars) }}… | ||
{% else %} | ||
{{ comments_map[table_name][column_name] }} | ||
{% endif %} | ||
</small> | ||
{% endif %} |