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 — Make cells lining up in array2d · byplus/algorithm-visualizer@cdd3c27

File tree

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

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

Copy file name to clipboardExpand all lines: src/frontend/core/renderers/Array2DRenderer/stylesheet.scss
+9-11Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,25 @@
22

33
.array_2d {
44
flex-shrink: 0;
5-
display: flex;
6-
flex-direction: column;
5+
display: table;
6+
border-collapse: collapse;
77

88
.row {
9-
display: flex;
10-
min-height: 28em;
11-
align-items: stretch;
9+
display: table-row;
10+
height: 28em;
1211

13-
&:empty {
12+
&:empty:after {
13+
content: '';
14+
display: table-cell;
1415
border-left: 1em solid $theme-light;
1516
}
1617

1718
.col {
18-
display: flex;
19-
align-items: center;
20-
justify-content: center;
19+
display: table-cell;
20+
text-align: center;
2121
min-width: 28em;
2222
background-color: $theme-normal;
2323
border: 1em solid $theme-light;
24-
margin-right: -1em;
25-
margin-bottom: -1em;
2624
padding: 0 4em;
2725

2826
.value {

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.