/
githubmirror
/
gitness
Обзор
Документация
Войти
/
githubmirror
/
gitness
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
web/src/components/CommitModalButton/CommitModalButton.module.scss
98 строк
2 KB
Ritik Kapoor
fix: [code-2300] width and style of branch/tag select dropdown (#2617)
13 сен 2024, 20:15
13 сен 2024, 20:15
62f27bb
Код
Авторство
О чём код?
/* * Copyright 2023 Harness, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ .main { padding-left: var(--spacing-xxlarge) !important; height: 100%; .extendedDescription textarea { height: 100px !important; } .radioGroup { > div { margin-bottom: var(--spacing-small) !important; } &.directly { label[class*='RadioButton']:first-of-type { background: rgba(220, 238, 255, 0.5); mix-blend-mode: normal; border: 1px solid var(--primary-6); } } &.newBranch { label[class*='RadioButton']:last-of-type { background: rgba(220, 238, 255, 0.5); mix-blend-mode: normal; border: 1px solid var(--primary-6); } } label[class*='RadioButton'] { border-radius: var(--spacing-2); border: 1px solid var(--bp3-intent-color, var(--grey-200)); padding: var(--spacing-small) !important; &:first-of-type { margin-bottom: var(--spacing-small); } span { font-size: var(--form-input-font-size); font-weight: 500; } .warningMessageLayout { display: flex; flex-direction: column; gap: 0.5rem; width: 96%; } .warningMessage { display: flex; gap: 0.5rem; align-items: center; } .commitDirectlyMessage { word-break: break-word; overflow-wrap: break-word; } } .newBranchContainer { align-items: center; padding-left: var(--spacing-medium); > div { margin-bottom: 0 !important; input { width: 588px; } } } } } .formContainer { form + div { display: none !important; } }