otis-web
otis-web copied to clipboard
Update Tables
In wikihaxx/mdx/otis.py, change the table from a lazy float: right to an actual alignment, such as below from Wikipedia.

What does it mean to "actual alignment"?
Well a float right just means try to slap it to the right, good luck if it fails. A better solution would be how Wikipedia does it (I forgot oops but you can inspect and see).
This allows for the text to be more fluid around tables, making UX better.

I did this much with the alignment (this is a recreation of the wikipedia page) and I also added borders around images with the caption as well, like Wikipedia. This is my first time with this kind of stuff, so I'm not sure if I did the right thing.
Also if you write a large caption it will fit the size of the image (so the caption is not wider than the image)
Like this
Open a PR, but looks good. Ask @vEnhance for opinion on design as well.
Yeah, submit a pull request so that it can be merged.
I tried doing that, but the file I made changes in doesn't exist? Maybe it has something to do with the IDE or I'm not doing pull requests right (first time with Github). Specifically, I was editing CSS.
@theMetaHack can you just send me the code and I'll commit it myself?
@theMetaHack bump on this
Unfortunately, my computer went faulty a few months ago and I lost all information on the drive where the code was stored. I'll try to recreate it.
The chess board on the left hand side is a table, images like
have different classes. Also this is in 5 spades and 9 spades at the same time, does this make it a 14 spade :)
Nah, you get max rather than sum when the price tags differ...
Did you respond to the wrong email?
I was replying to
Also this is in 5 spades and 9 spades at the same time, does this make it a 14 spade :)
Wikipedia seems to also use float right? Don't really get what this is asking for?

Wikipedia seems to also use float right? Don't really get what this is asking for?
Basically the tables are just wrapped in a float: right class right now. It's best to actually make a separate class for them and put in padding, border, etc. Make it look much better than what it does right now, because it's not that pretty.
If someone has a screenshot of current figures/tables on ARCH I can explain much better.
ARCH?
ARCH?
Isn't arch the wiki? Am I confusing something with something else?
ETA: It is not the wiki.