css: avoid using flex-direction: column whenever possible (perf hit)
This commit is contained in:
parent
c384b07177
commit
74440c9444
5 changed files with 6 additions and 12 deletions
|
|
@ -15,7 +15,7 @@ input:focus::selection,
|
|||
textarea:focus::selection,
|
||||
{
|
||||
background:var(--color-widget);
|
||||
color:var(--color-text);
|
||||
color: var(--color-text);
|
||||
}
|
||||
input {
|
||||
cursor: text;
|
||||
|
|
@ -29,7 +29,7 @@ input {
|
|||
}
|
||||
|
||||
html, body {
|
||||
|
||||
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@
|
|||
vertical-align:top;
|
||||
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
flex-direction: row;
|
||||
align-items: stretch;
|
||||
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue