diff --git a/src/components/mod_modal/mod_modal.scss b/src/components/mod_modal/mod_modal.scss index d80205c9..4821df74 100644 --- a/src/components/mod_modal/mod_modal.scss +++ b/src/components/mod_modal/mod_modal.scss @@ -2,18 +2,6 @@ .mod-modal { overflow: hidden; - .setting-list, - .option-list { - list-style-type: none; - padding-left: 2em; - li { - margin-bottom: 0.5em; - } - .suboptions { - margin-top: 0.3em - } - } - &.peek { .mod-modal-panel { /* Explanation: @@ -49,15 +37,8 @@ height: 100%; } - >.panel-body { - height: 100%; - overflow-y: hidden; - - .btn { - min-height: 2em; - min-width: 10em; - padding: 0 2em; - } + .panel-body { + height: inherit; } } } diff --git a/src/components/mod_modal/mod_modal_content.js b/src/components/mod_modal/mod_modal_content.js index 6330f162..e0ba6259 100644 --- a/src/components/mod_modal/mod_modal_content.js +++ b/src/components/mod_modal/mod_modal_content.js @@ -1,8 +1,8 @@ import TabSwitcher from 'src/components/tab_switcher/tab_switcher.jsx' -import ReportsTab from './tabs/reports_tab.vue' -import StatusesTab from './tabs/statuses_tab.vue' -import UsersTab from './tabs/users_tab.vue' +import ReportsTab from './tabs/reports_tab/reports_tab.vue' +// import StatusesTab from './tabs/statuses_tab.vue' +// import UsersTab from './tabs/users_tab.vue' import { library } from '@fortawesome/fontawesome-svg-core' import { @@ -21,9 +21,9 @@ const ModModalContent = { components: { TabSwitcher, - ReportsTab, - StatusesTab, - UsersTab + ReportsTab + // StatusesTab, + // UsersTab }, computed: { open () { diff --git a/src/components/mod_modal/mod_modal_content.scss b/src/components/mod_modal/mod_modal_content.scss index 99fc2d2a..b1aeba38 100644 --- a/src/components/mod_modal/mod_modal_content.scss +++ b/src/components/mod_modal/mod_modal_content.scss @@ -2,53 +2,20 @@ .mod_tab-switcher { height: 100%; - .setting-item { - border-bottom: 2px solid var(--fg, $fallback--fg); + .content { margin: 1em 1em 1.4em; - padding-bottom: 1.4em; - > div, - > label { - display: block; + > div { margin-bottom: .5em; &:last-child { margin-bottom: 0; } } - .select-multiple { - display: flex; - - .option-list { - margin: 0; - padding-left: .5em; - } - } - - &:last-child { - border-bottom: none; - padding-bottom: 0; - margin-bottom: 1em; - } - - select { - min-width: 10em; - } - textarea { width: 100%; max-width: 100%; height: 100px; } - - .unavailable, - .unavailable svg { - color: var(--cRed, $fallback--cRed); - color: $fallback--cRed; - } - - .number-input { - max-width: 6em; - } } } diff --git a/src/components/mod_modal/mod_modal_content.vue b/src/components/mod_modal/mod_modal_content.vue index bb31bc19..1c11cb33 100644 --- a/src/components/mod_modal/mod_modal_content.vue +++ b/src/components/mod_modal/mod_modal_content.vue @@ -7,26 +7,26 @@ :body-scroll-lock="bodyLock" >