mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-25 18:13:10 +03:00
fixed username display cutoff bug
This commit is contained in:
parent
9ba92505cb
commit
b43fbb3126
@ -83,9 +83,9 @@ const STYLES_PROFILE_USERNAME = css`
|
||||
min-width: 10%;
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
padding-left: 12px;
|
||||
text-overflow: ellipsis;
|
||||
padding: 12px;
|
||||
user-select: none;
|
||||
font-family: ${Constants.font.medium};
|
||||
font-size: 14px;
|
||||
@ -172,7 +172,6 @@ export default class ApplicationUserControls extends React.Component {
|
||||
>
|
||||
<PopoverNavigation
|
||||
style={{ position: "relative", top: "8px" }}
|
||||
itemStyle={{ color: Constants.system.darkGray }}
|
||||
navigation={[
|
||||
{
|
||||
text: "Account settings",
|
||||
|
@ -31,9 +31,10 @@ const STYLES_POPOVER_ITEM = css`
|
||||
transition: 200ms ease all;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
|
||||
:hover {
|
||||
color: ${Constants.system.brand} !important;
|
||||
color: ${Constants.system.brand};
|
||||
}
|
||||
`;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user