css: avoid using flex-direction: column whenever possible (perf hit)

This commit is contained in:
bordun 2020-04-23 16:32:23 +02:00
parent 0e9edd59b1
commit ab984c70e7
5 changed files with 6 additions and 12 deletions

View file

@ -65,7 +65,6 @@
inner {
position: relative;
flex: 1;
display: flex;
flex-direction: column;
@ -140,7 +139,6 @@
inner {
flex:1;
display: flex;
flex-direction: row;
justify-content: center;
@ -382,7 +380,6 @@
inner {
flex:1;
display: flex;
flex-direction: row;
justify-content: center;
@ -453,7 +450,6 @@
@include pseudo-fill(0.05);
display: flex;
flex: 1;
padding: var(--widget-padding);
text-align: center;
&.right {

View file

@ -24,8 +24,6 @@
> inner {
flex: 1;
position: relative;
overflow: auto;
}
@ -143,7 +141,6 @@
--alpha-fill-on: 0.75;
width: 100%;
flex: 1;
height: 100%;
background-color: var(--color-background);

View file

@ -50,9 +50,9 @@
@include pseudo-stroke($z: 1);
--widget-spacing: var(--widget-padding);
--widget-spacing: calc(var(--widget-padding) / 2);
padding: calc(var(--widget-spacing) + 1rem);
padding: var(--widget-spacing);
grid-template:
"a a b" auto / 1fr;