Skip to content

Commit cdd3c27

Browse files
committed
Make cells lining up in array2d
1 parent 08a3a30 commit cdd3c27

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

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

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy