border radius fixes

timeline-tab-hover-styles
Mary Kate 2020-08-10 15:05:24 -05:00
rodzic 6ac0c615fe
commit 42a7a61ce7
4 zmienionych plików z 21 dodań i 2 usunięć

Wyświetl plik

@ -189,7 +189,9 @@ export default class DetailedStatus extends ImmutablePureComponent {
<NavLink to={`/@${status.getIn(['account', 'acct'])}`} title={status.getIn(['account', 'acct'])} className='floating-link' />
</DisplayName>
</div>
<ProfileHoverCardContainer accountId={status.getIn(['account', 'id'])} visible={!isMobile(window.innerWidth) && profileCardVisible} />
{ profileCardVisible &&
<ProfileHoverCardContainer accountId={status.getIn(['account', 'id'])} visible={!isMobile(window.innerWidth) && profileCardVisible} />
}
</div>
{status.get('group') && (

Wyświetl plik

@ -27,6 +27,7 @@
@import 'dyslexic';
@import 'demetricator';
@import 'pro';
@import 'overflow_hacks';
// COMPONENTS
@import 'components/buttons';

Wyświetl plik

@ -201,7 +201,7 @@
@media screen and (max-width: 895px) {
.account-mobile-container {
display: block;
background: var(--accent-color--faint);
background: var(--background-color);
margin-top: 10px;
position: relative;
padding: 10px 10px 0;

Wyświetl plik

@ -0,0 +1,16 @@
// This is a file dedicated to fixing the css we broke by introducing the hover
// card and `overflow:visible` on drawer.scss line 23. If we ever figure out how
// to pop the hover card out while keeping `overflow:hidden`, feel free to delete
// this entire file.
button.column-header__button.active {
border-radius: 0 10px 0 0;
}
.column-back-button.column-back-button--slim-button {
border-radius: 0 10px 0 0;
}
.detailed-status__wrapper .detailed-status__action-bar {
border-radius: 0;
}