Skip to content

Commit

Permalink
Add CSS for new table-based attributeList layout
Browse files Browse the repository at this point in the history
The change from a list to a table was to support having the badge next to each attribute name indicating it has a least one annotation and to have that badge stand out to the side of the name. I think this makes it a lot easier to spot the annotated attributes.
  • Loading branch information
amoeba committed Jul 27, 2019
1 parent 919695b commit 9c64537
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/css/metacatui-common.css
Expand Up @@ -1558,10 +1558,20 @@ body > .alert-container {
max-height: 700px;
overflow: scroll;
}
.attributeList a{
.attributeListTable tr td:last-child a{
white-space: nowrap;
max-width: 100%;
}
.attributeListTable {
table-layout: fixed;
width: 100%;
}

/* Make the icon column 16px wide */
.attributeListTable tr td:first-child {
width: 16px;
}

.controls-well > .party{
margin-bottom: 30px;
border-bottom: 1px solid #DDD;
Expand Down

0 comments on commit 9c64537

Please sign in to comment.