fix: visual editor table styling

This commit is contained in:
NGPixel
2020-06-22 00:34:37 -04:00
parent 4cb7f33dcf
commit 43e73565af
3 changed files with 32 additions and 1 deletions

View File

@@ -653,6 +653,37 @@ .v-content .contents {
}
}
figure.table {
margin: 0;
> table {
background-color: #FFF;
margin: 0;
border-collapse: collapse;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, .07);
td, th {
border: 1px solid mc('blue-grey', '100');
box-shadow: inset -1px -1px 0 0 #FFF, inset 1px 0 0 #FFF;
padding: .5rem .75rem;
}
th {
background-color: lighten(mc('blue-grey', '50'), 1%);;
font-weight: 700;
color: mc('grey', '800');
}
thead th {
border-bottom: 2px solid mc('blue-grey', '100');
}
tbody th {
background-color: lighten(mc('blue-grey', '50'), 4%);
}
}
}
// ---------------------------------
// IMAGES
// ---------------------------------

View File

@@ -199,7 +199,7 @@
"@babel/preset-env": "^7.10.1",
"@mdi/font": "5.3.45",
"@panter/vue-i18next": "0.15.2",
"@requarks/ckeditor5": "19.0.1-wiki.1",
"@requarks/ckeditor5": "19.0.1-wiki.2",
"@vue/babel-preset-app": "4.4.1",
"animate-sass": "0.8.2",
"animated-number-vue": "1.0.0",

BIN
yarn.lock

Binary file not shown.