I have the following css that breaks my layouts:
@media (min-width: 768px) .row { display: flex; }
Can I disable the flexible display rule? Can anyone explain why this is happening?
Update:
Currently using boostrap-sass , "bootstrap-sass": "~ 3.3.5" I can not find the line in my sass files, maybe not so much, but it appears here in my compiled css:
strong { font-weight: 600; } .wrapper { padding: 50px 20px; } // row class here **@media (min-width: 768px) { .row { display: flex; } }** @media (min-width: 768px) { .column { width: 50%; } .column:first-child { margin-right: 20px; } } .modal__button { margin-right: 5px; } @media (max-width: 500px) { .modal-dialog { width: 100%; margin: 10px auto; } } .week-navigation { float: right; } .week-navigation__next-button { float: right; }
CSS . , , . HTML flex . URL-, , flex https://css-tricks.com/snippets/css/a-guide-to-flexbox/ , , ,
@media (min-width: 768px) .row { display: block; }
.
, CSS? ? - , true false, SCSS, 4 ( , , ).
bootstrap, CSS, , . , .
SASS , . _variables.scss, bootstrap , :
$enable-flex: true !default;
:
$enable-flex: false !default;
, , SCSS, .
Bootstrap 4:
div.row { display: block; width: 100%; ... } dov.row div.col { width: 100%; max-width: 100%; ... }
Source: https://habr.com/ru/post/1626540/More articles:C # problem using delegates for cross-threading - multithreadingIllegalName: org / hibernate / validator / ValidationMessages - javaAppRegistryNotReady: приложения еще не загружены. Джанго - pythonDjango Rest Framework serialization error in ListAPIView - pythonThe first character is missing continuously when sending a string to ExtJS input via sendKeys () - seleniumHow does SQL UPDATE match more rows than similar SELECTs? - sqlUPDATE priority order for updating multiple tables - mysqlview parameters passed to JavaScript functions in Chrome - javascriptsmooth scrolling and return button from popState to Firefox - double click - javascriptWhat can I use as placeholders in the destruction of the es6 array? - javascriptAll Articles