FIX: uses flex: 1 0 0; instead of flex: 1; for better browser compat (#6826)

This commit is contained in:
Joffrey JAFFEUX 2018-12-28 20:21:32 +01:00 committed by GitHub
parent 7b15b87cf5
commit 608abd4c08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 31 additions and 31 deletions

View File

@ -470,7 +470,7 @@ $mobile-breakpoint: 700px;
nav {
display: inline-flex;
position: relative;
flex: 1;
flex: 1 0 0;
height: auto;
overflow: hidden;
padding: 0;
@ -892,7 +892,7 @@ table#user-badges {
.value-input {
box-sizing: border-box;
flex: 1;
flex: 1 0 0;
border-color: $primary-low;
cursor: pointer;
margin: 0;
@ -919,7 +919,7 @@ table#user-badges {
margin-left: -0.25em;
margin-top: -0.125em;
.new-value-input {
flex: 1;
flex: 1 0 0;
}
.value-input,
.new-value-input {

View File

@ -81,7 +81,7 @@
}
.main {
flex: 1;
flex: 1 0 0;
}
.main .report-alert {
@ -132,7 +132,7 @@
.mode {
display: inline-flex;
flex: 1;
flex: 1 0 0;
.mode-btn.is-current {
color: $tertiary;

View File

@ -1,7 +1,7 @@
.admin-report {
.admin-report-counters {
display: grid;
flex: 1;
flex: 1 0 0;
grid-template-columns: 33% repeat(auto-fit, minmax(20px, 1fr));
grid-template-rows: repeat(auto-fit, minmax(32px, 1fr));
align-items: center;

View File

@ -27,7 +27,7 @@
.filters {
display: flex;
flex: 1;
flex: 1 0 0;
align-items: center;
flex-direction: column;
margin-left: 2em;

View File

@ -286,7 +286,7 @@
.counters-list {
display: flex;
flex: 1;
flex: 1 0 0;
flex-direction: column;
.counters-header {

View File

@ -216,7 +216,7 @@
}
.category-chooser {
display: flex;
flex: 1;
flex: 1 0 0;
width: auto;
}
}

View File

@ -60,6 +60,6 @@
// mobile styles
.mobile-view .edit-topic-timer-modal {
.select-kit.combo-box {
flex: 1;
flex: 1 0 0;
}
}

View File

@ -26,7 +26,7 @@ sup img.emoji {
.emoji-picker .categories-column {
display: flex;
flex-direction: column;
flex: 1;
flex: 1 0 0;
align-items: center;
justify-content: space-between;
border-right: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
@ -61,7 +61,7 @@ sup img.emoji {
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
padding: 0;
flex: 1;
flex: 1 0 0;
flex-direction: column;
}
@ -223,7 +223,7 @@ sup img.emoji {
.emoji-picker .filter input {
height: 24px;
margin: 0;
flex: 1;
flex: 1 0 0;
border: none;
box-shadow: none;
padding-right: 24px;
@ -247,7 +247,7 @@ sup img.emoji {
align-items: center;
justify-content: flex-start;
padding: 4px;
flex: 1;
flex: 1 0 0;
}
.emoji-picker .filter .clear-filter {

View File

@ -567,7 +567,7 @@
.left,
.right {
flex: 1;
flex: 1 0 0;
}
.text {

View File

@ -10,7 +10,7 @@
margin-bottom: 1em;
.search-query {
flex: 1;
flex: 1 0 0;
margin: 0 0.5em 0 0;
}

View File

@ -396,7 +396,7 @@ aside.quote {
.remove-invited {
display: flex;
flex: 1;
flex: 1 0 0;
align-items: center;
justify-content: center;
box-sizing: border-box;

View File

@ -43,7 +43,7 @@
.d-editor-textarea-wrapper,
.d-editor-preview-wrapper {
flex: 1;
flex: 1 0 0;
}
.d-editor-textarea-wrapper {

View File

@ -17,7 +17,7 @@
.select-kit-filter {
border: 0;
flex: 1;
flex: 1 0 0;
margin: 1px;
}
@ -89,7 +89,7 @@
min-width: 50px;
padding: 0;
outline: none;
flex: 1;
flex: 1 0 0;
.filter-input,
.filter-input:focus {
@ -112,7 +112,7 @@
.selected-color {
.selected-color-wrapper {
display: flex;
flex: 1;
flex: 1 0 0;
flex-direction: column;
}
@ -137,7 +137,7 @@
padding: 2px 4px;
line-height: $line-height-medium;
display: flex;
flex: 1;
flex: 1 0 0;
align-items: center;
}
}

View File

@ -57,7 +57,7 @@
display: flex;
.period-title {
flex: 1;
flex: 1 0 0;
}
.date-section {

View File

@ -214,7 +214,7 @@
background: none;
margin: 0;
padding: 0;
flex: 1;
flex: 1 0 0;
outline: none;
border: 0;
border-radius: 0;

View File

@ -109,7 +109,7 @@
flex-flow: row wrap;
div.column {
flex: 1;
flex: 1 0 0;
flex-direction: row;
min-width: 300px;
}

View File

@ -41,7 +41,7 @@
}
}
.topic-stats {
flex: 1;
flex: 1 0 0;
text-align: right;
color: dark-light-choose($primary-medium, $secondary-high);
}

View File

@ -16,7 +16,7 @@
.report-alert {
margin: 0;
order: 1;
flex: 1;
flex: 1 0 0;
padding: 1em;
}
}

View File

@ -150,7 +150,7 @@
.with-tags {
.category-input {
flex-basis: auto;
flex: 1;
flex: 1 0 0;
margin: 0;
width: 45%;
margin-bottom: 5px;
@ -158,7 +158,7 @@
.mini-tag-chooser {
width: 50%;
flex: 1;
flex: 1 0 0;
margin-left: 5px;
margin-bottom: 5px;
z-index: z("base");

View File

@ -66,7 +66,7 @@
flex-direction: row;
.form {
flex: 1;
flex: 1 0 0;
label {
font-weight: 700;
@ -118,7 +118,7 @@
}
.preview {
flex: 1;
flex: 1 0 0;
margin-top: 16px;
text-align: center;
}