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

[Bug]: Width in editor for text files is insufficient #6273

Closed
5 of 8 tasks
knieselpriem opened this issue Aug 28, 2024 · 1 comment
Closed
5 of 8 tasks

[Bug]: Width in editor for text files is insufficient #6273

knieselpriem opened this issue Aug 28, 2024 · 1 comment
Labels
0. Needs triage bug Something isn't working

Comments

@knieselpriem
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

The editor of text files shows a too small width. E.g., if you create a table, the small width is annoying.

This is caused by a CSS rule, defined in webpack://./src/components/Editor/ContentContainer.vue:

.editor__content {
	max-width: min(var(--text-editor-max-width), calc(100vw - 16px));
	margin: auto;
	position: relative;
	width: 100%;
}

I disabled the rule max-width: min(var(--text-editor-max-width), calc(100vw - 16px)); in the browser debug tools to get the whole width of my screen for editing the text file.

Steps to reproduce

  1. Create a text file, e.g. foo.md
  2. Open this file.
  3. The width for editing is extremely small!

Expected behavior

The width is not set to a maximum for the editor. The whole screen shall be used for editing a text file.

Installation method

Community Docker image

Nextcloud Server version

29

Operating system

Other

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

Enabled:
  - activity: 2.21.1
  - bruteforcesettings: 2.9.0
  - calendar: 4.7.16
  - checksum: 1.2.4
  - circles: 29.0.0-dev
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0
  - contacts: 6.0.0
  - contactsinteraction: 1.10.0
  - dashboard: 7.9.0
  - dav: 1.30.1
  - external: 5.4.0
  - federatedfilesharing: 1.19.0
  - federation: 1.19.0
  - files: 2.1.1
  - files_accesscontrol: 1.19.1
  - files_antivirus: 5.5.7
  - files_automatedtagging: 1.19.0
  - files_downloadlimit: 2.0.0
  - files_reminders: 1.2.0
  - files_sharing: 1.21.0
  - files_trashbin: 1.19.0
  - files_versions: 1.22.0
  - firstrunwizard: 2.18.0
  - groupfolders: 17.0.2
  - integration_openproject: 2.6.4
  - ldap_write_support: 1.11.0
  - logreader: 2.14.0
  - lookup_server_connector: 1.17.0
  - mail: 3.7.7
  - nextcloud_announcements: 1.18.0
  - notifications: 2.17.0
  - oauth2: 1.17.0
  - password_policy: 1.19.0
  - photos: 2.5.0
  - polls: 7.2.1
  - privacy: 1.13.0
  - provisioning_api: 1.19.0
  - recommendations: 2.1.0
  - related_resources: 1.4.0
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - support: 1.12.0
  - systemtags: 1.19.0
  - text: 3.10.1
  - theming: 2.4.0
  - twofactor_backupcodes: 1.18.0
  - updatenotification: 1.19.1
  - user_ldap: 1.20.0
  - user_status: 1.9.0
  - viewer: 2.3.0
  - weather_status: 1.9.0
  - workflowengine: 2.11.0
Disabled:
  - admin_audit: 1.19.0
  - encryption: 2.17.0
  - files_external: 1.21.0
  - files_pdfviewer: 2.10.0 (installed 2.0.1)
  - survey_client: 1.17.0 (installed 1.16.0)
  - suspicious_login: 7.0.0
  - twofactor_totp: 11.0.0-dev

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@knieselpriem knieselpriem added 0. Needs triage bug Something isn't working labels Aug 28, 2024
@joshtrichards joshtrichards transferred this issue from nextcloud/server Aug 28, 2024
@mejo-
Copy link
Member

mejo- commented Aug 28, 2024

Thanks for the report @knieselpriem. This is already reported and tracked in #4024. I'll close this one as duplicate.

@mejo- mejo- closed this as not planned Won't fix, can't repro, duplicate, stale Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants