Use overflow:auto not overflow:scroll (#883)

This commit is contained in:
Bottersnike
2023-03-21 15:46:21 +00:00
committed by zkldi
parent 9d9a262e37
commit 060ca12ff4
6 changed files with 6 additions and 6 deletions
@@ -289,7 +289,7 @@ export default function SearchBar() {
className="quick-search quick-search-dropdown quick-search-has-result"
>
<div
style={{ maxHeight: "325px", overflowY: "scroll" }}
style={{ maxHeight: "325px", overflowY: "auto" }}
className="quick-search-wrapper"
>
{results ? <SearchResults results={results} /> : <Loading />}
@@ -151,7 +151,7 @@ function SessionTooltip({ sessionID, game, playtype, reqUser }: { sessionID: str
{data.session.desc && <Muted>{data.session.desc}</Muted>}
<Divider />
</div>
<Row className="w-100" style={{ maxHeight: "500px", overflowY: "scroll" }}>
<Row className="w-100" style={{ maxHeight: "500px", overflowY: "auto" }}>
<SessionRaiseBreakdown noHeader sessionData={data} />
</Row>
<div className="w-100 text-center">
@@ -8,7 +8,7 @@ export default function SeedsDiffCell({ diffs }: { diffs: JSONAttributeDiff[] })
style={{
maxHeight: "200px",
maxWidth: "600px",
overflow: "scroll",
overflow: "auto",
textAlign: "left",
}}
>
@@ -40,7 +40,7 @@ export const SeedsQuestCells: CellsRenderFN<QuestWithRelated> = ({
</td>
<td>{FormatGame(data.game, data.playtype)}</td>
<td>
<div style={{ maxHeight: "200px", overflowY: "scroll" }}>
<div style={{ maxHeight: "200px", overflowY: "auto" }}>
{data.questData.map((section) => (
<>
<h6>{section.title}</h6>
@@ -39,7 +39,7 @@ export const SeedsQuestlineCells: CellsRenderFN<QuestlineWithRelated> = ({ data
</td>
<td>{FormatGame(data.game, data.playtype)}</td>
<td className="text-left">
<div style={{ maxHeight: "200px", overflowY: "scroll" }}>
<div style={{ maxHeight: "200px", overflowY: "auto" }}>
{data.quests.map((e) => {
const quest = data.__related.quests[e];
@@ -45,7 +45,7 @@ export const SeedsTableCells: CellsRenderFN<TableWithRelated> = ({ data }) => (
</td>
<td>{FormatGame(data.game, data.playtype)}</td>
<td className="text-left">
<div style={{ maxHeight: "200px", overflowY: "scroll" }}>
<div style={{ maxHeight: "200px", overflowY: "auto" }}>
{data.folders.map((e) => {
const folder = data.__related.folders[e];