mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 00:54:06 -08:00
Refactor maxWidth to CSS variable
- Update GlobalExecutionsList.vue - Update PageViewLayout.vue - Define --content-container-width - Update ProjectSettings.vue - Update TemplatesView.vue
This commit is contained in:
parent
69f859b9ea
commit
49bd5c6acc
|
@ -459,8 +459,8 @@ async function onAutoRefreshToggle(value: boolean) {
|
|||
position: relative;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
max-width: 1280px;
|
||||
padding: var(--spacing-l) var(--spacing-2xl) 0;
|
||||
max-width: var(--content-container-width);
|
||||
}
|
||||
|
||||
.execList {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
flex-direction: column;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
max-width: 1280px;
|
||||
max-width: var(--content-container-width);
|
||||
box-sizing: border-box;
|
||||
align-content: start;
|
||||
padding: var(--spacing-l) var(--spacing-2xl) 0;
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
:root {
|
||||
// Using native css variable enables us to use this value in JS
|
||||
--header-height: 65;
|
||||
--content-container-width: 1280px;
|
||||
}
|
||||
|
||||
.clickable {
|
||||
|
|
|
@ -400,7 +400,7 @@ onMounted(() => {
|
|||
|
||||
form {
|
||||
width: 100%;
|
||||
max-width: 1280px;
|
||||
max-width: var(--content-container-width);
|
||||
padding: 0 var(--spacing-2xl);
|
||||
|
||||
fieldset {
|
||||
|
@ -417,7 +417,7 @@ onMounted(() => {
|
|||
|
||||
.header {
|
||||
width: 100%;
|
||||
max-width: 1280px;
|
||||
max-width: var(--content-container-width);
|
||||
padding: var(--spacing-l) var(--spacing-2xl) 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ withDefaults(defineProps<Props>(), {
|
|||
.template {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
max-width: 1280px;
|
||||
max-width: var(--content-container-width);
|
||||
padding: var(--spacing-l) var(--spacing-l) 0;
|
||||
justify-content: center;
|
||||
@media (min-width: 1200px) {
|
||||
|
|
Loading…
Reference in a new issue