mirror of
https://git.pleroma.social/sjw/pleroma-fe.git
synced 2024-12-22 04:20:20 +01:00
fix theme preview styles being applied to post preview
This commit is contained in:
parent
88bce57c17
commit
27ee145450
1
changelog.d/preview-interference.skip
Normal file
1
changelog.d/preview-interference.skip
Normal file
@ -0,0 +1 @@
|
|||||||
|
skip
|
@ -25,7 +25,7 @@ import {
|
|||||||
faGlobe
|
faGlobe
|
||||||
} from '@fortawesome/free-solid-svg-icons'
|
} from '@fortawesome/free-solid-svg-icons'
|
||||||
|
|
||||||
import Preview from './theme_tab/preview.vue'
|
import Preview from './theme_tab/theme_preview.vue'
|
||||||
|
|
||||||
library.add(
|
library.add(
|
||||||
faGlobe
|
faGlobe
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="preview-container">
|
<div class="theme-preview-container">
|
||||||
<div class="underlay underlay-preview" />
|
<div class="underlay underlay-preview" />
|
||||||
<div class="panel dummy">
|
<div class="panel dummy">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
@ -136,7 +136,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.preview-container {
|
.theme-preview-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
border-top: 1px dashed;
|
border-top: 1px dashed;
|
||||||
border-bottom: 1px dashed;
|
border-bottom: 1px dashed;
|
||||||
@ -238,7 +238,6 @@ export default {
|
|||||||
min-width: 3em;
|
min-width: 3em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.underlay-preview {
|
.underlay-preview {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -247,4 +246,5 @@ export default {
|
|||||||
left: 10px;
|
left: 10px;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
@ -45,7 +45,7 @@ import TabSwitcher from 'src/components/tab_switcher/tab_switcher.jsx'
|
|||||||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||||
import Select from 'src/components/select/select.vue'
|
import Select from 'src/components/select/select.vue'
|
||||||
|
|
||||||
import Preview from './preview.vue'
|
import Preview from './theme_preview.vue'
|
||||||
|
|
||||||
// List of color values used in v1
|
// List of color values used in v1
|
||||||
const v1OnlyNames = [
|
const v1OnlyNames = [
|
||||||
|
Loading…
Reference in New Issue
Block a user