-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
In Obsidian 1.5.3 + Minimal Theme 7.4.3, there is a misalignment issue with the positioning of tables. #679
Comments
tables cannot be dragged and dropped |
Also have this problem |
Any chances for this to be fixed? |
There have been some improvements in 7.4.5. For now I would recommend using a different setting in |
@Sinled can you share a screenshot of the issue you are seeing. Make sure you are using Minimal 7.4.7+ and let me know which table settings you are using. |
@kepano There is unnecessary margin on At the same time there are similar margins on table containing element No additional table related classes for this note. Here are full settings related to tables At the moment i fixed it with custom styles removing margin from table, but it seems, as mentioned before, removing .markdown-preview-view.is-readable-line-width .markdown-preview-sizer .cm-table-widget,
.markdown-preview-view.is-readable-line-width .markdown-preview-sizer>div:has(>table),
.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content .cm-table-widget,
.markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer.cm-contentContainer>.cm-content>div:has(>table) {
width: var(--container-table-width);
max-width: var(--container-table-max-width);
margin-inline: var(--container-table-margin)!important;
} also fixes problem |
@Sinled I am not able to reproduce this. Can you share the following:
|
| | |
| ------------- | --- |
| **Budget, $** | |
| **Status** | |
| **Category** | |
Debug info
|
Have you tried disabling Contextual Typography? This plugin causes conflicts. |
@kepano Just tried disabling Contextual Typography - it has no effect, also tried disabling all other plugins, only |
Did you restart the app after disabling Contextual Typography? |
@kepano yes, I checked after i've restarted app. I will probably dig deeper on weekend and will try to reproduce in clean vault. But judging from dev tools both styles that affect table and its container are coming from Minimal Theme |
Is this problem still unresolved? |
Is the bug present when using the default Obsidian theme?
Yes
Is the bug present when snippets and plugins are disabled?
Yes
Minimal theme version
7.4.3
Describe the bug
In Obsidian 1.5.3 + Minimal Theme 7.4.3 + Minimal Theme Setting 7.3.1, there is a misalignment issue with the positioning of tables.
I have submitted this issue under the Minimal Theme Settings project. I cannot be certain whether this is an issue with Minimal Theme or Minimal Theme Settings, so I have submitted it for both.
The detailed description of the issue is as follows:
kepano/obsidian-minimal-settings#73
I have already disabled all my CSS Snippets.
This is my Minimal Theme style settings (about Table) in "Style Settings" plugin:
Then, the table will display like this:
After testing, I discovered that this issue does not occur in the default theme or other themes. If I select the "Fit to line width" option (default value), the table displays correctly (indicating that, by default, tables in the Minimal Theme do not experience misalignment). However, when I select the "Overflow line width" or "Always fill" options, the table's positioning becomes misaligned.
Additionally, using
cssclasses
does not resolve this misalignment issue.Debug info
When I took the screenshot, I had multiple plugins enabled, and I needed to eliminate the interference of the plugins, so I closed all but nine of them, but the problem persisted. Therefore, some of the plugins that appear in my screenshot are not included in the list of plugins in the debug info because I had already disabled them.
The text was updated successfully, but these errors were encountered: