chore(client): 🎨

This commit is contained in:
syuilo 2020-04-17 20:36:51 +09:00
parent f879122049
commit 3d3c800d23
3 changed files with 16 additions and 8 deletions

View file

@ -86,7 +86,7 @@
import Vue from 'vue'; import Vue from 'vue';
import * as XDraggable from 'vuedraggable'; import * as XDraggable from 'vuedraggable';
import "prismjs"; import "prismjs";
import "prismjs/themes/prism.css"; import 'prismjs/themes/prism-okaidia.css';
import PrismEditor from 'vue-prism-editor'; import PrismEditor from 'vue-prism-editor';
import { faICursor, faPlus, faMagic, faCog, faCode, faExternalLinkSquareAlt } from '@fortawesome/free-solid-svg-icons'; import { faICursor, faPlus, faMagic, faCog, faCode, faExternalLinkSquareAlt } from '@fortawesome/free-solid-svg-icons';
import { faSave, faStickyNote, faTrashAlt } from '@fortawesome/free-regular-svg-icons'; import { faSave, faStickyNote, faTrashAlt } from '@fortawesome/free-regular-svg-icons';

View file

@ -118,12 +118,20 @@ export default Vue.extend({
<style lang="scss" scoped> <style lang="scss" scoped>
.xcukqgmh { .xcukqgmh {
> ._card > .banner { > ._card {
> img { > .banner {
display: block; > img {
width: 100%; display: block;
height: 120px; width: 100%;
object-fit: cover; height: 120px;
object-fit: cover;
}
}
> ._footer {
> * {
margin: 0 0.5em;
}
} }
} }
} }

View file

@ -25,7 +25,7 @@
import Vue from 'vue'; import Vue from 'vue';
import { faTerminal, faPlay } from '@fortawesome/free-solid-svg-icons'; import { faTerminal, faPlay } from '@fortawesome/free-solid-svg-icons';
import "prismjs"; import "prismjs";
import "prismjs/themes/prism.css"; import 'prismjs/themes/prism-okaidia.css';
import PrismEditor from 'vue-prism-editor'; import PrismEditor from 'vue-prism-editor';
import { AiScript, parse, utils, values } from '@syuilo/aiscript'; import { AiScript, parse, utils, values } from '@syuilo/aiscript';
import i18n from '../i18n'; import i18n from '../i18n';