kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
BundleErrorColumn: fix icon and rounded corners
rodzic
4e6a6278ac
commit
89ac03e07a
|
@ -30,7 +30,7 @@ class BundleColumnError extends React.PureComponent {
|
||||||
<Column>
|
<Column>
|
||||||
<ColumnHeader icon='exclamation-circle' type={formatMessage(messages.title)} />
|
<ColumnHeader icon='exclamation-circle' type={formatMessage(messages.title)} />
|
||||||
<div className='error-column'>
|
<div className='error-column'>
|
||||||
<IconButton title={formatMessage(messages.retry)} icon='refresh' onClick={this.handleRetry} size={64} />
|
<IconButton title={formatMessage(messages.retry)} src={require('@tabler/icons/icons/refresh.svg')} onClick={this.handleRetry} />
|
||||||
{formatMessage(messages.body)}
|
{formatMessage(messages.body)}
|
||||||
</div>
|
</div>
|
||||||
</Column>
|
</Column>
|
||||||
|
|
|
@ -343,7 +343,7 @@
|
||||||
.columns-area--mobile .column {
|
.columns-area--mobile .column {
|
||||||
@include standard-panel;
|
@include standard-panel;
|
||||||
|
|
||||||
@media screen and (max-width: 450px) {
|
@media screen and (max-width: 580px) {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -736,6 +736,17 @@
|
||||||
|
|
||||||
.error-column {
|
.error-column {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
border-radius: 0 0 10px 10px;
|
||||||
|
|
||||||
|
.svg-icon {
|
||||||
|
width: 70px;
|
||||||
|
height: 70px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 580px) {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.column-link--transparent .icon-with-badge__badge {
|
.column-link--transparent .icon-with-badge__badge {
|
||||||
|
|
Ładowanie…
Reference in New Issue