Skip to content

Commit

Permalink
Tweak empty view content styles
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Nov 12, 2024
1 parent a7ea5e5 commit 7d8b1c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/views/controls/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@
--discovery-view-button-focus-border-color: rgba(128, 128, 128, 0.6);
}
.view-button:empty::before {
content: '|';
width: 0;
visibility: hidden;
content: '\200B';
float: left;
}
.view-button:focus-visible {
box-shadow: 0 0 1px 3px rgba(0, 170, 255, 0.2);
Expand Down
4 changes: 2 additions & 2 deletions src/views/controls/menu-item.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
cursor: pointer;
}
.view-menu-item:empty::before {
content: '|';
visibility: hidden;
content: '\200B';
float: left;
}
.view-menu-item:hover,
.view-menu-item.discovery-view-popup-active {
Expand Down

0 comments on commit 7d8b1c9

Please sign in to comment.