mirror of
https://github.com/HeyPuter/puter.git
synced 2026-08-15 02:27:35 +00:00
Remove Beta badge from dashboard sidebar
This commit is contained in:
@@ -99,8 +99,7 @@ async function UIDashboard (options) {
|
||||
continue;
|
||||
}
|
||||
const isActive = i === 0 ? ' active' : '';
|
||||
const isBeta = tab.label === 'Apps';
|
||||
h += `<div class="dashboard-sidebar-item${isActive} ${isBeta ? 'beta' : ''}" data-section="${tab.id}" data-tooltip="${html_encode(tab.label)}">`;
|
||||
h += `<div class="dashboard-sidebar-item${isActive}" data-section="${tab.id}" data-tooltip="${html_encode(tab.label)}">`;
|
||||
h += tab.icon;
|
||||
h += tab.label;
|
||||
h += '</div>';
|
||||
|
||||
@@ -284,10 +284,6 @@ body {
|
||||
margin: 8px 4px;
|
||||
}
|
||||
|
||||
.dashboard-sidebar.collapsed .dashboard-sidebar-item.beta::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dashboard-sidebar.collapsed .dashboard-user-options {
|
||||
padding-top: 8px;
|
||||
}
|
||||
@@ -377,17 +373,6 @@ body {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.dashboard-sidebar-item.beta:after {
|
||||
content: "Beta";
|
||||
font-size: 12px;
|
||||
color: var(--dashboard-background);
|
||||
background: var(--dashboard-text-muted);
|
||||
padding: 1px 4px;
|
||||
border-radius: 4px;
|
||||
position: absolute;
|
||||
right: 4px;
|
||||
}
|
||||
|
||||
/* User options button at bottom of sidebar */
|
||||
.dashboard-user-options {
|
||||
border-top: 1px solid var(--dashboard-border);
|
||||
@@ -731,6 +716,7 @@ body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
filter: drop-shadow(0px 0px .3px rgb(173, 173, 173));
|
||||
}
|
||||
|
||||
@media (hover: hover) {
|
||||
|
||||
Reference in New Issue
Block a user