GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix zoom issues as Chrome updates · byplus/algorithm-visualizer@876b224

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/frontend/core/renderers/Array2DRenderer
    • index.jsx
    • stylesheet.scss
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/frontend/core/renderers/Array2DRenderer/index.jsx‎

Copy file name to clipboardExpand all lines: src/frontend/core/renderers/Array2DRenderer/index.jsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Array2DRenderer extends Renderer {
1919

2020
return (
2121
<table className={styles.array_2d}
22-
style={{ marginLeft: -this.centerX * 2, marginTop: -this.centerY * 2, fontSize: this.zoom }}>
22+
style={{ marginLeft: -this.centerX * 2, marginTop: -this.centerY * 2, transform: `scale(${this.zoom})` }}>
2323
<tbody>
2424
<tr className={styles.row}>
2525
{
Collapse file

‎src/frontend/core/renderers/Array2DRenderer/stylesheet.scss‎

Copy file name to clipboardExpand all lines: src/frontend/core/renderers/Array2DRenderer/stylesheet.scss
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77

88
.row {
99
display: table-row;
10-
height: 28em;
10+
height: 28px;
1111

1212
.col {
1313
display: table-cell;
1414
text-align: center;
15-
min-width: 28em;
15+
min-width: 28px;
1616
background-color: $theme-normal;
17-
border: 1em solid $theme-light;
18-
padding: 0 4em;
17+
border: 1px solid $theme-light;
18+
padding: 0 4px;
1919

2020
.value {
21-
font-size: 12em;
21+
font-size: 12px;
2222
}
2323

2424
&.selected {

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.