Skip to content

Commit

Permalink
style add view icon to be more like view icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerwyn committed Jul 3, 2024
1 parent b67ae07 commit 85dab34
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
24 changes: 23 additions & 1 deletion src/common/root.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,32 @@ paper-tabs {

/* Fix edit mode current view label position */
.edit-mode paper-tab.iron-selected::after {
margin-top: -4px !important;
margin-top: -2px !important;
}

/* Move edit mode action items back to bottom toolbar */
.edit-mode .action-items {
position: static !important;
}

/* Style add view button to look like view buttons */
#add-view {
top: 12px;
height: 100% !important;
display: inline-flex;
flex-direction: column;
}
#add-view::after {
content: 'Add View';
text-transform: none;
text-wrap: wrap;
text-align: center;
font-weight: 500;
font-size: min(3.6vw, 13px);
opacity: 0.8;
padding: 0px 1px;
overflow: hidden;
line-height: 12px;
height: 100%;
margin-top: -10px;
}
Loading

0 comments on commit 85dab34

Please sign in to comment.