replace border by box-shadox in flex-bloc and flex-table

We use box-shadow instead of border
to avoid to manage border double-width
when blocs are resized for small screen !

Then we can simulate border-collapse: collapse (table)
This commit is contained in:
2021-05-28 12:46:04 +02:00
parent 622c254cc4
commit 666c1e7ae7
3 changed files with 13 additions and 35 deletions

View File

@@ -84,16 +84,7 @@ export default {
div.flex-bloc {
margin-top: 1em;
div.item-bloc {
flex-grow: 0; flex-shrink: 1; flex-basis: 25%;
margin: 0;
border: 1px solid #000;
padding: 1em;
&:not(:first-child) {
border-left: 0;
}
flex-basis: 25%;
ul.list-content {
list-style-type: none;
padding-left: 0;