Skip to content

Commit 08b9e84

Browse files
committed
stop single row sticky header from scrolling
1 parent 09ead1a commit 08b9e84

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: resources/css/bem/beatmapset-info.less

+1-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
&__row {
5252
display: flex;
5353
flex-direction: column;
54-
padding-top: 5px;
5554
padding-bottom: 10px;
5655

5756
&--half {
@@ -71,7 +70,7 @@
7170
background-color: hsl(var(--hsl-b4));
7271
font-weight: bold;
7372
font-style: normal;
74-
padding: 0 0 5px;
73+
padding: 5px 0;
7574
margin: 0;
7675
}
7776

Diff for: resources/js/beatmapsets-show/info.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export default class Info extends React.Component<Props> {
112112
<div className='beatmapset-info__box'>
113113
{this.withEditDescription && this.renderEditDescriptionButton()}
114114
<div className='beatmapset-info__scrollable'>
115-
<div className='beatmapset-info__row beatmapset-info__row--value-overflow'>
115+
<div className='beatmapset-info__row'>
116116
<h3 className='beatmapset-info__header'>
117117
{trans('beatmapsets.show.info.description')}
118118
</h3>

0 commit comments

Comments
 (0)