mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 23:02:26 +00:00
underline
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
.workspace .workspace-name {
|
||||
font-weight: 400;
|
||||
color: #202428;
|
||||
padding: 2px;
|
||||
border-bottom: 2px solid #e3e3e3;
|
||||
font-size: 1rem;
|
||||
}
|
||||
.workspace .workspace-name .dropdown-toggle:after {
|
||||
.workspace .workspace-name-container .dropdown-toggle:after {
|
||||
color: #929292;
|
||||
}
|
||||
.workspace .workspace-name:hover {
|
||||
.workspace .workspace-name-container:hover .workspace-name {
|
||||
border-bottom: 2px solid #202428;
|
||||
}
|
||||
.workspace .workspace-name:hover .dropdown-toggle:after {
|
||||
.workspace .workspace-name-container:hover .dropdown-toggle:after {
|
||||
color: #202428;
|
||||
}
|
||||
.workspace .add-table-btn {
|
||||
|
@@ -270,16 +270,16 @@ class Workspace extends Component {
|
||||
/>
|
||||
}
|
||||
{!this.state.isWorkspaceRenaming &&
|
||||
<Fragment>
|
||||
<Dropdown isOpen={this.state.dropdownOpen} toggle={this.dropdownToggle} direction="down" className="workspace-name">
|
||||
<span className="mb-2 workspace-name-container">
|
||||
<span className="workspace-name">{workspace.name}</span>
|
||||
<Dropdown isOpen={this.state.dropdownOpen} toggle={this.dropdownToggle} direction="down">
|
||||
<DropdownToggle
|
||||
caret={true}
|
||||
tag='span'
|
||||
tag='i'
|
||||
title={gettext('More Operations')}
|
||||
data-toggle="dropdown"
|
||||
aria-expanded={this.state.dropdownOpen}
|
||||
>
|
||||
<span className="mb-2">{workspace.name}</span>
|
||||
</DropdownToggle>
|
||||
<DropdownMenu className="drop-list" right={true}>
|
||||
<DropdownItem onClick={this.onRenameWorkspaceCancel}>{gettext('Rename')}</DropdownItem>
|
||||
@@ -293,7 +293,7 @@ class Workspace extends Component {
|
||||
handleSubmit={this.onDeleteWorkspaceSubmit}
|
||||
/>
|
||||
}
|
||||
</Fragment>
|
||||
</span>
|
||||
}
|
||||
</Fragment>
|
||||
<div className="d-flex add-table-btn-container">
|
||||
|
Reference in New Issue
Block a user