Skip to content

Commit

Permalink
Flag CSS which require manual fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cnotv committed Sep 23, 2024
1 parent 3da7352 commit 8319730
Show file tree
Hide file tree
Showing 21 changed files with 46 additions and 23 deletions.
6 changes: 4 additions & 2 deletions pkg/kubectl-explain/components/ExplainPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ export default {
</div>
</template>
<style lang="scss" scoped>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
.main {
overflow: auto;
}
Expand Down Expand Up @@ -301,7 +302,8 @@ export default {
}
}
</style>
<style lang="scss" scoped>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
.markdown {
:deep( ) {
P {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,8 @@ export default defineComponent({
</div>
</template>

<style lang="scss" scoped>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
.string-list {
display: flex;
Expand Down
3 changes: 2 additions & 1 deletion shell/components/ButtonDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ export default {
</v-select>
</template>

<style lang='scss' scoped>
<style lang='scss' scoped>
// TODO #11952: Correct deep statement
.button-dropdown.btn-sm {
:deep( > .vs__dropdown-toggle ) {
.vs__actions {
Expand Down
3 changes: 2 additions & 1 deletion shell/components/ChartReadme.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ export default {
</div>
</template>
<style lang="scss" scoped>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
.chart-readmes {
& > h1 {
border-top: var(--header-border-size) solid var(--header-border);
Expand Down
3 changes: 2 additions & 1 deletion shell/components/DashboardMetrics.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ export default {
</div>
</template>

<style lang="scss" scoped>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
.dashboard-metrics {
& :deep( ) {
.external-link {
Expand Down
3 changes: 2 additions & 1 deletion shell/components/ExplorerMembers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,8 @@ export default {
</div>
</template>
<style lang='scss' scoped>
<style lang='scss' scoped>
// TODO #11952: Correct deep statement
.role {
align-items: center;
Expand Down
6 changes: 4 additions & 2 deletions shell/components/ExplorerProjectsNamespaces.vue
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,8 @@ export default {
<MoveModal @moving="clearSelection" />
</div>
</template>
<style lang="scss" scoped>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
.project-namespaces {
& :deep( ) {
.project-namespaces-table table {
Expand Down Expand Up @@ -568,7 +569,8 @@ export default {
}
}
</style>
<style lang="scss">
<style lang="scss">
// TODO #11952: Correct deep statement
.psa-tooltip {
// These could pop up a lot as the mouse moves around, keep them as small and unintrusive as possible
// (easier to test with v-clean-tooltip="{ content: getPSA(row), autoHide: false, show: true }")
Expand Down
3 changes: 2 additions & 1 deletion shell/components/Markdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ export default {
<Loading v-else />
</template>

<style lang="scss">
<style lang="scss">
// TODO #11952: Correct deep statement
:deep( ) {
P {
Expand Down
3 changes: 2 additions & 1 deletion shell/components/auth/RoleDetailEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,8 @@ export default {
</CruResource>
</template>
<style lang="scss" scoped>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
.required {
color: var(--error);
}
Expand Down
3 changes: 2 additions & 1 deletion shell/components/form/EnvVars.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ export default {
</div>
</template>

<style lang='scss' scoped>
<style lang='scss' scoped>
// TODO #11952: Correct deep statement
.value-from :deep( ) {
.v-select {
height: 50px;
Expand Down
3 changes: 2 additions & 1 deletion shell/components/form/InputWithSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ export default {
</div>
</template>

<style lang='scss' scoped>
<style lang='scss' scoped>
// TODO #11952: Correct deep statement
.input-container {
display: flex;
Expand Down
3 changes: 2 additions & 1 deletion shell/components/form/LabeledSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,8 @@ export default {
</div>
</template>
<style lang='scss' scoped>
<style lang='scss' scoped>
// TODO #11952: Correct deep statement
.labeled-select {
position: relative;
Expand Down
3 changes: 2 additions & 1 deletion shell/components/form/NameNsDescription.vue
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,8 @@ export default {
</div>
</template>
<style lang="scss" scoped>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
button {
all: unset;
height: 0;
Expand Down
3 changes: 2 additions & 1 deletion shell/components/form/ServicePorts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ export default {
</div>
</template>
<style lang="scss" scoped>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
$remove: 75;
$checkbox: 75;
Expand Down
3 changes: 2 additions & 1 deletion shell/components/formatter/ClusterLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ export default {
</span>
</template>
<style lang="scss" scoped>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
.cluster-link {
display: flex;
align-items: center;
Expand Down
3 changes: 2 additions & 1 deletion shell/components/nav/Group.vue
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@ export default {
</div>
</template>
<style lang="scss" scoped>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
.header {
position: relative;
cursor: pointer;
Expand Down
3 changes: 2 additions & 1 deletion shell/components/nav/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,8 @@ export default {
</header>
</template>
<style lang="scss" scoped>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
// It would be nice to grab this from `Group.vue`, but there's margin, padding and border, which is overkill to var
$side-menu-group-padding-left: 16px;
Expand Down
3 changes: 2 additions & 1 deletion shell/detail/autoscaling.horizontalpodautoscaler/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ export default {
</ResourceTabs>
</template>
<style lang="scss" scoped>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
.hpa-metrics-table {
.info-box :deep( ) {
background-color: var(--simple-box-bg);
Expand Down
3 changes: 2 additions & 1 deletion shell/edit/logging-flow/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,8 @@ export default {
/>
</template>
<style lang="scss" scoped>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
:deep( ) {
.icon-info {
margin-top: -3px;
Expand Down
3 changes: 2 additions & 1 deletion shell/edit/networking.k8s.io.ingress/RulePath.vue
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ export default {
</button>
</div>
</template>
<style lang="scss" scoped>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
$row-height: 40px;
.labeled-input :deep(, :deep() .labeled-input ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,8 @@ export default {
</div>
</template>
<style lang="scss" scoped>
<style lang="scss" scoped>
// TODO #11952: Correct deep statement
.advanced :deep() >.vue-portal-target:empty,
.advanced :deep( >.vue-portal-target:empty + .spacer ) {
display: none;
Expand Down

0 comments on commit 8319730

Please sign in to comment.