Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend content area width #303

Merged
merged 2 commits into from
Jan 8, 2024
Merged

Extend content area width #303

merged 2 commits into from
Jan 8, 2024

Conversation

satr
Copy link
Contributor

@satr satr commented Jan 5, 2024

No description provided.

@satr satr requested a review from Richard87 January 5, 2024 15:22
@satr satr self-assigned this Jan 5, 2024
Copy link
Contributor

@Richard87 Richard87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alternative approach?

@@ -9,3 +9,6 @@
@import url('https://cdn.eds.equinor.com/font/equinor-mono.css');


div.theme-default-content:not(.custom) {
max-width: 80rem;
Copy link
Contributor

@Richard87 Richard87 Jan 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about:

div[class^='language-'] {
    width: fit-content; 
    min-width: 100%; 
    max-width: 100vw;
}

radix equinor com_guides_deploy-only_example-github-action-building-and-deploying-application html

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied this style

@satr satr requested a review from Richard87 January 8, 2024 08:37
@satr satr merged commit 8710956 into main Jan 8, 2024
4 checks passed
@satr satr deleted the make-code-blocks-wider branch January 8, 2024 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants