fix: visual editor table styling
This commit is contained in:
@@ -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
|
// IMAGES
|
||||||
// ---------------------------------
|
// ---------------------------------
|
||||||
|
|||||||
+1
-1
@@ -199,7 +199,7 @@
|
|||||||
"@babel/preset-env": "^7.10.1",
|
"@babel/preset-env": "^7.10.1",
|
||||||
"@mdi/font": "5.3.45",
|
"@mdi/font": "5.3.45",
|
||||||
"@panter/vue-i18next": "0.15.2",
|
"@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",
|
"@vue/babel-preset-app": "4.4.1",
|
||||||
"animate-sass": "0.8.2",
|
"animate-sass": "0.8.2",
|
||||||
"animated-number-vue": "1.0.0",
|
"animated-number-vue": "1.0.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user