A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.
fix: Small UI Issues
towfiqi672be6d8cf2c
diff --git a/frontend/src/components/Settings/IntegrationSettings/SMTPSettings.tsx b/frontend/src/components/Settings/IntegrationSettings/SMTPSettings.tsxindex 4fe0e11..7e15416 100644--- a/frontend/src/components/Settings/IntegrationSettings/SMTPSettings.tsx+++ b/frontend/src/components/Settings/IntegrationSettings/SMTPSettings.tsx@@ -43,7 +43,7 @@ const SMTPSettings = ({ settings, onUpdate, showTestModal }: SMTPSettingsProps)};return (- <div>+ <div className={classes.integrations}><div className={classes.field}><Inputlabel="SMTP Server*"diff --git a/frontend/src/components/common/FileManager/FileManager.module.scss b/frontend/src/components/common/FileManager/FileManager.module.scssindex b250d65..75aa29c 100644--- a/frontend/src/components/common/FileManager/FileManager.module.scss+++ b/frontend/src/components/common/FileManager/FileManager.module.scss@@ -145,11 +145,22 @@text-align: left;word-break: break-all;gap: 6px;+ max-width: 300px;color: var(--content-text-color);button {opacity: 0.3;color: var(--icon-color);}+ .fileNameText {+ display: inline-block;+ white-space: nowrap;+ overflow: hidden;+ text-overflow: ellipsis;+ }+}++.fileSize {+ max-width: 70px;}.selected {diff --git a/frontend/src/components/common/FileManager/FileManager.tsx b/frontend/src/components/common/FileManager/FileManager.tsxindex b4d7a6c..6ba2e2f 100644--- a/frontend/src/components/common/FileManager/FileManager.tsx+++ b/frontend/src/components/common/FileManager/FileManager.tsx@@ -153,7 +153,9 @@ export const FileManager = ({<Icon type={isPathSelected(item.path) ? 'check-circle-filled' : 'check-circle'} /></button>{item.type != 'file' ? <Icon type={`fm-${item.type}`} size={18} /> : <FileIcon filename={item.name} />}- {item.name}+ <span className={classes.fileNameText} title={item.name}>+ {item.name}+ </span></div>{isMobileDevice ? (<div className={classes.mobileFileInfo}>diff --git a/frontend/src/components/common/PageHeader/PageHeader.module.scss b/frontend/src/components/common/PageHeader/PageHeader.module.scssindex 7b53685..879498d 100644--- a/frontend/src/components/common/PageHeader/PageHeader.module.scss+++ b/frontend/src/components/common/PageHeader/PageHeader.module.scss@@ -1,5 +1,6 @@.header {width: 100%;+ max-height: 60px;display: flex;justify-content: space-between;align-items: center;diff --git a/frontend/src/components/common/PathPicker/PathPicker.tsx b/frontend/src/components/common/PathPicker/PathPicker.tsxindex e91973d..9c7279a 100644--- a/frontend/src/components/common/PathPicker/PathPicker.tsx+++ b/frontend/src/components/common/PathPicker/PathPicker.tsx@@ -256,7 +256,7 @@ const PathPicker = ({ onUpdate, single = false, disallowChange = false, paths =setShowPicker(false);}}>- <Icon type="check" size={12} /> Update Sources+ <Icon type="check" size={12} /> {openPath ? `Update Sources` : 'Add Sources'}</button></div></div>diff --git a/frontend/src/components/common/SidePanel/SidePanel.module.scss b/frontend/src/components/common/SidePanel/SidePanel.module.scssindex f906626..87c04ea 100644--- a/frontend/src/components/common/SidePanel/SidePanel.module.scss+++ b/frontend/src/components/common/SidePanel/SidePanel.module.scss@@ -37,17 +37,23 @@.header {display: flex;align-items: center;- justify-content: space-between;- padding: 20px;+ justify-content: center;border-bottom: 1px solid var(--content-shadow-color);- h3 {- font-size: 1rem;- margin: 0;- }- img {- max-height: 18px;- vertical-align: text-top;- margin-right: 4px;+ .headerContent {+ width: 100%;+ display: flex;+ justify-content: space-between;+ padding: 20px;+ box-sizing: border-box;+ h3 {+ font-size: 1rem;+ margin: 0;+ }+ img {+ max-height: 18px;+ vertical-align: text-top;+ margin-right: 4px;+ }}}diff --git a/frontend/src/components/common/SidePanel/SidePanel.tsx b/frontend/src/components/common/SidePanel/SidePanel.tsxindex a954a5e..be7c996 100644--- a/frontend/src/components/common/SidePanel/SidePanel.tsx+++ b/frontend/src/components/common/SidePanel/SidePanel.tsx@@ -46,12 +46,14 @@ const SidePanel = ({ close, children, title, icon, footer, width, withTabs }: Si<div className={classes.sidePanel}><div className={`${classes.wrapper} ${isActive ? classes.active : ''} ${withTabs ? classes.noPadding : ''}`} style={{ width: width }}><div className={classes.header}>- <h3>- {icon && icon} {title}- </h3>- <button className={classes.close} onClick={handleClose}>- <Icon type="close" size={24} />- </button>+ <div className={classes.headerContent}>+ <h3>+ {icon && icon} {title}+ </h3>+ <button className={classes.close} onClick={handleClose}>+ <Icon type="close" size={24} />+ </button>+ </div></div>{!withTabs ? (<div className={`${classes.content} styled__scrollbar ${footer ? classes.hasFooter : classes.noFooter}`}>{children}</div>diff --git a/frontend/src/styles/fields.scss b/frontend/src/styles/fields.scssindex 4fef47d..841d92d 100644--- a/frontend/src/styles/fields.scss+++ b/frontend/src/styles/fields.scss@@ -28,19 +28,19 @@color: var(--error);margin-left: 0.125rem;}+}- .fieldLabelError {- position: absolute;- right: 0.625rem;- top: -0.738rem;- background-color: var(--error-bg-active);- color: var(--error-active-text);- padding: 0.063rem 0.75rem;- border-radius: 4px;- font-size: 0.9em;- letter-spacing: 0.013rem;- z-index: 2;- }+%fieldErrorLabel {+ position: absolute;+ right: 0.625rem;+ top: -0.738rem;+ background-color: var(--error-bg-active);+ color: var(--error-active-text);+ padding: 0.063rem 0.75rem;+ border-radius: 4px;+ font-size: 0.9em;+ letter-spacing: 0.013rem;+ z-index: 2;}%fieldDescription {