diff --git a/app/assets/stylesheets/marvinjs.scss b/app/assets/stylesheets/marvinjs.scss index 547fe4c61..de02b68df 100644 --- a/app/assets/stylesheets/marvinjs.scss +++ b/app/assets/stylesheets/marvinjs.scss @@ -19,16 +19,17 @@ } .modal-content { - background: transparent; border: 0; box-shadow: none; height: 100%; + padding: 0; width: auto; } .modal-header { background: $color-white; display: flex; + flex-direction: row; height: 60px; line-height: 40px; padding: 10px 15px; diff --git a/app/assets/stylesheets/my_modules/repositories.scss b/app/assets/stylesheets/my_modules/repositories.scss index 9b0039ccc..8f32f1ac5 100644 --- a/app/assets/stylesheets/my_modules/repositories.scss +++ b/app/assets/stylesheets/my_modules/repositories.scss @@ -172,6 +172,7 @@ grid-template-columns: minmax(50%, 100%) 0; grid-template-rows: 55px calc(100% - 55px); height: inherit; + padding: 0; transition: all $timing-function-sharp; &.show-sidebar { diff --git a/app/assets/stylesheets/repository/print_progress_modal.scss b/app/assets/stylesheets/repository/print_progress_modal.scss index f355c29da..1e4b187bf 100644 --- a/app/assets/stylesheets/repository/print_progress_modal.scss +++ b/app/assets/stylesheets/repository/print_progress_modal.scss @@ -10,6 +10,7 @@ .modal-header { align-items: center; display: flex; + flex-direction: row; padding: .5em; .title { diff --git a/app/assets/stylesheets/shared/file_preview.scss b/app/assets/stylesheets/shared/file_preview.scss index dbf903698..99ca6c27f 100644 --- a/app/assets/stylesheets/shared/file_preview.scss +++ b/app/assets/stylesheets/shared/file_preview.scss @@ -19,7 +19,9 @@ background: inherit; border: 0; border-radius: 0; - height: auto; + display: flex; + flex-direction: column; + height: 100vh; min-height: 100%; padding: 0; } @@ -72,6 +74,8 @@ align-items: center; background: $color-white; display: flex; + flex-direction: row; + flex-shrink: 0; height: 4em; padding: 0 1em; @@ -89,7 +93,7 @@ align-items: center; background: transparent; display: flex; - height: calc(100vh - 8em); + flex-grow: 1; justify-content: center; overflow: hidden; padding: 0; @@ -99,6 +103,7 @@ .modal-footer { background: $color-white; height: 4em; + flex-shrink: 0; padding: 0 1em; .gallery { diff --git a/app/assets/stylesheets/shared/image_edit_modal.scss b/app/assets/stylesheets/shared/image_edit_modal.scss index b5f592e90..a6da051a4 100644 --- a/app/assets/stylesheets/shared/image_edit_modal.scss +++ b/app/assets/stylesheets/shared/image_edit_modal.scss @@ -13,12 +13,14 @@ .modal-content { border: 0; height: 100%; + padding: 0; } .modal-header { align-items: center; background: $color-white; display: flex; + flex-direction: row; height: 4em; padding: 0 1em; diff --git a/app/assets/stylesheets/shared/pdf_preview.scss b/app/assets/stylesheets/shared/pdf_preview.scss index 4b0772a74..f94c11187 100644 --- a/app/assets/stylesheets/shared/pdf_preview.scss +++ b/app/assets/stylesheets/shared/pdf_preview.scss @@ -1,9 +1,10 @@ .pdf-viewer { display: flex; flex-direction: column; - height: 100%; + height: calc(100% + 4rem); + margin: -2rem; position: relative; - width: 100%; + width: calc(100% + 4rem); .page-container { display: flex; diff --git a/app/assets/stylesheets/tailwind/buttons.css b/app/assets/stylesheets/tailwind/buttons.css index 0367b23a6..2ca4f5a80 100644 --- a/app/assets/stylesheets/tailwind/buttons.css +++ b/app/assets/stylesheets/tailwind/buttons.css @@ -13,7 +13,7 @@ } .btn.btn-lg { - @apply py-2.5 px-[1.125rem] text-base leading-5 max-h-[44px]; + @apply py-2.5 px-[1.125rem] text-base leading-5 h-[44px]; } .btn.btn-lg.icon-btn { @@ -21,7 +21,7 @@ } .btn.btn-sm { - @apply py-1.5 px-2.5 text-xs leading-5 max-h-[36px]; + @apply py-1.5 px-2.5 text-xs leading-5 h-[36px]; } .btn.btn-sm.icon-btn { @@ -29,7 +29,7 @@ } .btn.btn-xs { - @apply py-0.5 px-2.5 text-xs leading-5 max-h-[30px]; + @apply py-0.5 px-2.5 text-xs leading-5 h-[30px]; } .btn.btn-xs.icon-btn { diff --git a/app/assets/stylesheets/tailwind/inputs.css b/app/assets/stylesheets/tailwind/inputs.css index 19dcdd1b6..963aa94bd 100644 --- a/app/assets/stylesheets/tailwind/inputs.css +++ b/app/assets/stylesheets/tailwind/inputs.css @@ -20,10 +20,6 @@ @apply text-sn-sleepy-grey; } - .sci-input-container-v2 .sci-input-field-v2 { - @apply h-[2.25rem]; - } - .sci-input-container-v2 .error { @apply !border-sn-coral; } @@ -38,7 +34,7 @@ .sci-input-container-v2 input:disabled { background-color: var(--sn-super-light-grey); - color: var(--sn-light-grey); + color: var(--sn-grey); border: 1px solid var(--sn-light-grey); } diff --git a/app/javascript/vue/shareable_links/components/shareable_link_modal.vue b/app/javascript/vue/shareable_links/components/shareable_link_modal.vue index ebe13bcb1..d7dae34d5 100644 --- a/app/javascript/vue/shareable_links/components/shareable_link_modal.vue +++ b/app/javascript/vue/shareable_links/components/shareable_link_modal.vue @@ -11,9 +11,6 @@